COLOR #1F2B51

HEX: #1F2B51
RGB: (31,43,81)

Color info

#1F2B51 contains red, green and blue colors in about the same proportion. Web safe color of #1F2B51 is #333366 (or #336).

RGB color model

#1F2B51 color RGB value is (31,43,81).

  • red value is 31;
  • green value is 43;
  • blue value is 81.
RGB:
(31,43,81)
(12%,17%,32%)

RGB channels and saturation

R 31 of 255 = 12%
G 43 of 255 = 17%
B 81 of 255 = 32%

31
43
81

R + G + B ~ 20%. #1F2B51 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 43 + 81 = 155 (100%)
R 31 of 155 ~ 20%
G 43 of 155 ~ 27.74%
B 81 of 155 ~ 52.26%

%20
%27.74
%52.26

CMYK color model

#1F2B51 color CMYK value is (62,47,0,68).

  • cyan value is 61.73%
  • magenta value is 46.91%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(62,47,0,68)
C62M47Y0K68 
(62%,47%,0%,68%)
(0.62/0.47/0.00/0.68)	

CMYK percentages

%61.73
%46.91
%0
%68.24

Codes

Color #1F2B51 in popluar color models

1F2B51
RGB314381
HSL226°44.64%21.96%
HSB/HSV226°61.73%31.76%
CMYK61.73%46.91%0.00%
68.24%

Color #1F2B51 in popluar number systems.

HEX1F2B51
Decimal314381
Binary111111010111010001
Octal3753121

Shades and tints

Shades of #1F2B51

#1F2B51
(31,43,81)
#1D284A
(29,40,74)
#1B2543
(27,37,67)
#19223C
(25,34,60)
#171F35
(23,31,53)
#151C2E
(21,28,46)
#131927
(19,25,39)
#111620
(17,22,32)
#0F1319
(15,19,25)
#0D1012
(13,16,18)
#0B0D0B
(11,13,11)
#000000
(0,0,0)

Tints of #1F2B51

#1F2B51
(31,43,81)
#333E60
(51,62,96)
#47516F
(71,81,111)
#5B647E
(91,100,126)
#6F778D
(111,119,141)
#838A9C
(131,138,156)
#979DAB
(151,157,171)
#ABB0BA
(171,176,186)
#BFC3C9
(191,195,201)
#D3D6D8
(211,214,216)
#E7E9E7
(231,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F2B51 color. Also use rgb(31,43,81) instead hex code.

Text Font Color

.myTextColor { color: #1F2B51; }

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

This text font color is #1F2B51.


Background Color

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

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

This div background color is #1F2B51.


Border color

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

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

This div border color is #1F2B51.


Opacity

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

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

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

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

This text has shadow with #1F2B51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F2B51 on black background.


Color preview on white background

This text has color #1F2B51 on white background.



Black color preview on #1F2B51 background

This text has black color on #1F2B51 background.


White color preview on #1F2B51 background

This text has white color on #1F2B51 background.