COLOR #1F4799

HEX: #1F4799
RGB: (31,71,153)

Color info

#1F4799 contains mainly blue color. Web safe color of #1F4799 is #333399 (or #339).

RGB color model

#1F4799 color RGB value is (31,71,153).

  • red value is 31;
  • green value is 71;
  • blue value is 153.
RGB:
(31,71,153)
(12%,28%,60%)

RGB channels and saturation

R 31 of 255 = 12%
G 71 of 255 = 28%
B 153 of 255 = 60%

31
71
153

R + G + B ~ 33%. #1F4799 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 71 + 153 = 255 (100%)
R 31 of 255 ~ 12.16%
G 71 of 255 ~ 27.84%
B 153 of 255 ~ 60%

%12.16
%27.84
%60

CMYK color model

#1F4799 color CMYK value is (80,54,0,40).

  • cyan value is 79.74%
  • magenta value is 53.59%
  • yellow value is 0.00%
  • key color value is 40.00%
CMYK:
(80,54,0,40)
C80M54Y0K40 
(80%,54%,0%,40%)
(0.80/0.54/0.00/0.40)	

CMYK percentages

%79.74
%53.59
%0
%40

Codes

Color #1F4799 in popluar color models

1F4799
RGB3171153
HSL220°66.30%36.08%
HSB/HSV220°79.74%60.00%
CMYK79.74%53.59%0.00%
40.00%

Color #1F4799 in popluar number systems.

HEX1F4799
Decimal3171153
Binary11111100011110011001
Octal37107231

Shades and tints

Shades of #1F4799

#1F4799
(31,71,153)
#1D418C
(29,65,140)
#1B3B7F
(27,59,127)
#193572
(25,53,114)
#172F65
(23,47,101)
#152958
(21,41,88)
#13234B
(19,35,75)
#111D3E
(17,29,62)
#0F1731
(15,23,49)
#0D1124
(13,17,36)
#0B0B17
(11,11,23)
#000000
(0,0,0)

Tints of #1F4799

#1F4799
(31,71,153)
#3357A2
(51,87,162)
#4767AB
(71,103,171)
#5B77B4
(91,119,180)
#6F87BD
(111,135,189)
#8397C6
(131,151,198)
#97A7CF
(151,167,207)
#ABB7D8
(171,183,216)
#BFC7E1
(191,199,225)
#D3D7EA
(211,215,234)
#E7E7F3
(231,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4799 color. Also use rgb(31,71,153) instead hex code.

Text Font Color

.myTextColor { color: #1F4799; }

<p style="color:#1F4799">This sample text font color is #1F4799.</p>

This text font color is #1F4799.


Background Color

.myBgColor { background-color: #1F4799; }

<div style="background-color:#1F4799">Inner text</div>

This div background color is #1F4799.


Border color

.myBorderColor { border: 1px solid #1F4799; }

<div style="border:3px solid #1F4799">Div</div>

This div border color is #1F4799.


Opacity

.myOpacity80 { color: #1F4799; opacity: 0.8; }

<p style="color:#1F4799;opacity:0.8;">80%</p>

Text with #1F4799 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #1F4799;}

<p style="text-shadow: 3px 3px 1px #1F4799">Text here.</p>

This text has shadow with #1F4799 color.

.textShadow {text-shadow: 3px 3px 1px #1F4799, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #1F4799, 5px 5px 20px red">Text here.</p>

This text has shadow with #1F4799 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#1F4799, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#1F4799, Direction=45, Strength=4)">Text</p>

This text has shadow with #1F4799 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #1F4799;
  -webkit-box-shadow:	1px 1px 3px 2px #1F4799;
  box-shadow:		1px 1px 3px 2px #1F4799;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #1F4799;
-webkit-box-shadow: 1px 1px 3px 2px #1F4799;
box-shadow:1px 1px 3px 2px #1F4799;">
Div content here</div>
This div box has shadow with color #1F4799.

Preview

Color preview on black background

This text has color #1F4799 on black background.


Color preview on white background

This text has color #1F4799 on white background.



Black color preview on #1F4799 background

This text has black color on #1F4799 background.


White color preview on #1F4799 background

This text has white color on #1F4799 background.