COLOR #1F3851

HEX: #1F3851
RGB: (31,56,81)

Color info

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

RGB color model

#1F3851 color RGB value is (31,56,81).

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

RGB channels and saturation

R 31 of 255 = 12%
G 56 of 255 = 22%
B 81 of 255 = 32%

31
56
81

R + G + B ~ 22%. #1F3851 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 56 + 81 = 168 (100%)
R 31 of 168 ~ 18.45%
G 56 of 168 ~ 33.33%
B 81 of 168 ~ 48.21%

%18.45
%33.33
%48.21

CMYK color model

#1F3851 color CMYK value is (62,31,0,68).

  • cyan value is 61.73%
  • magenta value is 30.86%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(62,31,0,68)
C62M31Y0K68 
(62%,31%,0%,68%)
(0.62/0.31/0.00/0.68)	

CMYK percentages

%61.73
%30.86
%0
%68.24

Codes

Color #1F3851 in popluar color models

1F3851
RGB315681
HSL210°44.64%21.96%
HSB/HSV210°61.73%31.76%
CMYK61.73%30.86%0.00%
68.24%

Color #1F3851 in popluar number systems.

HEX1F3851
Decimal315681
Binary111111110001010001
Octal3770121

Shades and tints

Shades of #1F3851

#1F3851
(31,56,81)
#1D334A
(29,51,74)
#1B2E43
(27,46,67)
#19293C
(25,41,60)
#172435
(23,36,53)
#151F2E
(21,31,46)
#131A27
(19,26,39)
#111520
(17,21,32)
#0F1019
(15,16,25)
#0D0B12
(13,11,18)
#0B060B
(11,6,11)
#000000
(0,0,0)

Tints of #1F3851

#1F3851
(31,56,81)
#334A60
(51,74,96)
#475C6F
(71,92,111)
#5B6E7E
(91,110,126)
#6F808D
(111,128,141)
#83929C
(131,146,156)
#97A4AB
(151,164,171)
#ABB6BA
(171,182,186)
#BFC8C9
(191,200,201)
#D3DAD8
(211,218,216)
#E7ECE7
(231,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F3851; }

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

This text font color is #1F3851.


Background Color

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

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

This div background color is #1F3851.


Border color

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

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

This div border color is #1F3851.


Opacity

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

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

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

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

This text has shadow with #1F3851 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F3851 on black background.


Color preview on white background

This text has color #1F3851 on white background.



Black color preview on #1F3851 background

This text has black color on #1F3851 background.


White color preview on #1F3851 background

This text has white color on #1F3851 background.