COLOR #1F4E76

HEX: #1F4E76
RGB: (31,78,118)

Color info

#1F4E76 contains mainly green and blue colors. Web safe color of #1F4E76 is #336666 (or #366).

RGB color model

#1F4E76 color RGB value is (31,78,118).

  • red value is 31;
  • green value is 78;
  • blue value is 118.
RGB:
(31,78,118)
(12%,31%,46%)

RGB channels and saturation

R 31 of 255 = 12%
G 78 of 255 = 31%
B 118 of 255 = 46%

31
78
118

R + G + B ~ 30%. #1F4E76 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 78 + 118 = 227 (100%)
R 31 of 227 ~ 13.66%
G 78 of 227 ~ 34.36%
B 118 of 227 ~ 51.98%

%13.66
%34.36
%51.98

CMYK color model

#1F4E76 color CMYK value is (74,34,0,54).

  • cyan value is 73.73%
  • magenta value is 33.90%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(74,34,0,54)
C74M34Y0K54 
(74%,34%,0%,54%)
(0.74/0.34/0.00/0.54)	

CMYK percentages

%73.73
%33.9
%0
%53.73

Codes

Color #1F4E76 in popluar color models

1F4E76
RGB3178118
HSL208°58.39%29.22%
HSB/HSV208°73.73%46.27%
CMYK73.73%33.90%0.00%
53.73%

Color #1F4E76 in popluar number systems.

HEX1F4E76
Decimal3178118
Binary1111110011101110110
Octal37116166

Shades and tints

Shades of #1F4E76

#1F4E76
(31,78,118)
#1D476C
(29,71,108)
#1B4062
(27,64,98)
#193958
(25,57,88)
#17324E
(23,50,78)
#152B44
(21,43,68)
#13243A
(19,36,58)
#111D30
(17,29,48)
#0F1626
(15,22,38)
#0D0F1C
(13,15,28)
#0B0812
(11,8,18)
#000000
(0,0,0)

Tints of #1F4E76

#1F4E76
(31,78,118)
#335E82
(51,94,130)
#476E8E
(71,110,142)
#5B7E9A
(91,126,154)
#6F8EA6
(111,142,166)
#839EB2
(131,158,178)
#97AEBE
(151,174,190)
#ABBECA
(171,190,202)
#BFCED6
(191,206,214)
#D3DEE2
(211,222,226)
#E7EEEE
(231,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4E76 color. Also use rgb(31,78,118) instead hex code.

Text Font Color

.myTextColor { color: #1F4E76; }

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

This text font color is #1F4E76.


Background Color

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

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

This div background color is #1F4E76.


Border color

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

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

This div border color is #1F4E76.


Opacity

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

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

Text with #1F4E76 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 #1F4E76;}

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

This text has shadow with #1F4E76 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F4E76 on black background.


Color preview on white background

This text has color #1F4E76 on white background.



Black color preview on #1F4E76 background

This text has black color on #1F4E76 background.


White color preview on #1F4E76 background

This text has white color on #1F4E76 background.