COLOR #1F4E5B

HEX: #1F4E5B
RGB: (31,78,91)

Color info

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

RGB color model

#1F4E5B color RGB value is (31,78,91).

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

RGB channels and saturation

R 31 of 255 = 12%
G 78 of 255 = 31%
B 91 of 255 = 36%

31
78
91

R + G + B ~ 26%. #1F4E5B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 78 + 91 = 200 (100%)
R 31 of 200 ~ 15.5%
G 78 of 200 ~ 39%
B 91 of 200 ~ 45.5%

%15.5
%39
%45.5

CMYK color model

#1F4E5B color CMYK value is (66,14,0,64).

  • cyan value is 65.93%
  • magenta value is 14.29%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(66,14,0,64)
C66M14Y0K64 
(66%,14%,0%,64%)
(0.66/0.14/0.00/0.64)	

CMYK percentages

%65.93
%14.29
%0
%64.31

Codes

Color #1F4E5B in popluar color models

1F4E5B
RGB317891
HSL193°49.18%23.92%
HSB/HSV193°65.93%35.69%
CMYK65.93%14.29%0.00%
64.31%

Color #1F4E5B in popluar number systems.

HEX1F4E5B
Decimal317891
Binary1111110011101011011
Octal37116133

Shades and tints

Shades of #1F4E5B

#1F4E5B
(31,78,91)
#1D4753
(29,71,83)
#1B404B
(27,64,75)
#193943
(25,57,67)
#17323B
(23,50,59)
#152B33
(21,43,51)
#13242B
(19,36,43)
#111D23
(17,29,35)
#0F161B
(15,22,27)
#0D0F13
(13,15,19)
#0B080B
(11,8,11)
#000000
(0,0,0)

Tints of #1F4E5B

#1F4E5B
(31,78,91)
#335E69
(51,94,105)
#476E77
(71,110,119)
#5B7E85
(91,126,133)
#6F8E93
(111,142,147)
#839EA1
(131,158,161)
#97AEAF
(151,174,175)
#ABBEBD
(171,190,189)
#BFCECB
(191,206,203)
#D3DED9
(211,222,217)
#E7EEE7
(231,238,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F4E5B; }

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

This text font color is #1F4E5B.


Background Color

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

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

This div background color is #1F4E5B.


Border color

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

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

This div border color is #1F4E5B.


Opacity

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

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

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

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

This text has shadow with #1F4E5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F4E5B on black background.


Color preview on white background

This text has color #1F4E5B on white background.



Black color preview on #1F4E5B background

This text has black color on #1F4E5B background.


White color preview on #1F4E5B background

This text has white color on #1F4E5B background.