COLOR #031F6B

HEX: #031F6B RGB: (3,31,107)

Color info

#031F6B contains mainly blue color. Web safe color of #031F6B is #003366 (or #036).

RGB color model

#031F6B color RGB value is (3,31,107).

RGB: (3,31,107) (1%, 12%, 42%)

RGB channels and saturation

R 3 of 255 = 1%
G 31 of 255 = 12%
B 107 of 255 = 42%

3
31
107

R + G + B ~ 18%. #031F6B is dark color.

Portions of RGB colors in percentages

R + G + B = 3 + 31 + 107 = 141 (100%)
R 3 of 141 ~ 2.13%
G 31 of 141 ~ 21.99%
B 107 of 141 ~ 75.89'%

%21.99
%75.89

CMYK color model

#031F6B color CMYK value is (97,71,0,58).

  • cyan value is 97.20%
  • magenta value is 71.03%
  • yellow value is 0.00%
  • key color value is 58.04%

CMYK: (97,71,0,58)
C97M71Y0K58 (97%, 71%, 0%, 58%)
(0.97 / 0.71 / 0.00 / 0.58)

CMYK percentages

%97.2
%71.03
%0
%58.04

Codes

Color #031F6B in popluar color models

03 1F 6B
RGB 3 31 107
HSL 224° 94.55% 21.57%
HSB/HSV 224° 97.20% 41.96%
CMYK 97.20% 71.03% 0.00%
58.04%

Color #031F6B in popluar number systems.

HEX 03 1F 6B
Decimal 3 31 107
Binary 11 11111 1101011
Octal 3 37 153

Shades and tints

Shades of #031F6B

#031F6B
(3,31,107)
#031D62
(3,29,98)
#031B59
(3,27,89)
#031950
(3,25,80)
#031747
(3,23,71)
#03153E
(3,21,62)
#031335
(3,19,53)
#03112C
(3,17,44)
#030F23
(3,15,35)
#030D1A
(3,13,26)
#030B11
(3,11,17)
#000000
(0,0,0)

Tints of #031F6B

#031F6B
(3,31,107)
#193378
(25,51,120)
#2F4785
(47,71,133)
#455B92
(69,91,146)
#5B6F9F
(91,111,159)
#7183AC
(113,131,172)
#8797B9
(135,151,185)
#9DABC6
(157,171,198)
#B3BFD3
(179,191,211)
#C9D3E0
(201,211,224)
#DFE7ED
(223,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #031F6B color. Also use rgb(3,31,107) instead hex code.

Text Font Color

.myTextColor { color: #031F6B; }

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

This text font color is #031F6B.

Background Color

.myBgColor { background-color: #031F6B; }

<div style="background-color:#031F6B">Inner text</div>

This div background color is #031F6B.

Border color

.myBorderColor { border: 1px solid #031F6B; }

<div style="border:3px solid #031F6B">Div</div>

This div border color is #031F6B.

Opacity

.myOpacity80 { color: #031F6B; opacity: 0.8; }

<p style="color:#031F6B;opacity:0.8;">80%</p>

Text with #031F6B 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 #031F6B;}

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

This text has shadow with #031F6B color.


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

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

This text has shadow with #031F6B primary color and red secondary color.


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

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

This text has shadow with #031F6B and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #031F6B.

Preview

Color preview on black background

This text has color #031F6B on black background.


Color preview on white background

This text has color #031F6B on white background.


Black color preview on #031F6B background

This text has black color on #031F6B background.


White color preview on #031F6B background

This text has white color on #031F6B background.


Related colors

Complementary color

Complementary color for #hex is #FCE094.


I love getcolorcode.com

Triadic colors

1 #6B031F and #1F6B03 with #031F6B are triadic colors.

2 #6B1F03 and #1F036B with #031F6B are triadic colors.