COLOR #1F3156

HEX: #1F3156 RGB: (31,49,86)

Color info

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

RGB color model

#1F3156 color RGB value is (31,49,86).

RGB: (31,49,86) (12%, 19%, 34%)

RGB channels and saturation

R 31 of 255 = 12%
G 49 of 255 = 19%
B 86 of 255 = 34%

31
49
86

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

Portions of RGB colors in percentages

R + G + B = 31 + 49 + 86 = 166 (100%)
R 31 of 166 ~ 18.67%
G 49 of 166 ~ 29.52%
B 86 of 166 ~ 51.81'%

%18.67
%29.52
%51.81

CMYK color model

#1F3156 color CMYK value is (64,43,0,66).

  • cyan value is 63.95%
  • magenta value is 43.02%
  • yellow value is 0.00%
  • key color value is 66.27%

CMYK: (64,43,0,66)
C64M43Y0K66 (64%, 43%, 0%, 66%)
(0.64 / 0.43 / 0.00 / 0.66)

CMYK percentages

%63.95
%43.02
%0
%66.27

Codes

Color #1F3156 in popluar color models

1F 31 56
RGB 31 49 86
HSL 220° 47.01% 22.94%
HSB/HSV 220° 63.95% 33.73%
CMYK 63.95% 43.02% 0.00%
66.27%

Color #1F3156 in popluar number systems.

HEX 1F 31 56
Decimal 31 49 86
Binary 11111 110001 1010110
Octal 37 61 126

Shades and tints

Shades of #1F3156

#1F3156
(31,49,86)
#1D2D4F
(29,45,79)
#1B2948
(27,41,72)
#192541
(25,37,65)
#17213A
(23,33,58)
#151D33
(21,29,51)
#13192C
(19,25,44)
#111525
(17,21,37)
#0F111E
(15,17,30)
#0D0D17
(13,13,23)
#0B0910
(11,9,16)
#000000
(0,0,0)

Tints of #1F3156

#1F3156
(31,49,86)
#334365
(51,67,101)
#475574
(71,85,116)
#5B6783
(91,103,131)
#6F7992
(111,121,146)
#838BA1
(131,139,161)
#979DB0
(151,157,176)
#ABAFBF
(171,175,191)
#BFC1CE
(191,193,206)
#D3D3DD
(211,211,221)
#E7E5EC
(231,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F3156 color. Also use rgb(31,49,86) instead hex code.

Text Font Color

.myTextColor { color: #1F3156; }

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

This text font color is #1F3156.

Background Color

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

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

This div background color is #1F3156.

Border color

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

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

This div border color is #1F3156.

Opacity

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

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

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

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

This text has shadow with #1F3156 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F3156.

Preview

Color preview on black background

This text has color #1F3156 on black background.


Color preview on white background

This text has color #1F3156 on white background.


Black color preview on #1F3156 background

This text has black color on #1F3156 background.


White color preview on #1F3156 background

This text has white color on #1F3156 background.


Related colors

Complementary color

Complementary color for #1F3156 is #E0CEA9.


I love getcolorcode.com

Triadic colors

1 #561F31 and #31561F with #1F3156 are triadic colors.

2 #56311F and #311F56 with #1F3156 are triadic colors.