COLOR #1F315F

HEX: #1F315F RGB: (31,49,95)

Color info

#1F315F contains mainly green and blue colors. Web safe color of #1F315F is #333366 (or #336).

RGB color model

#1F315F color RGB value is (31,49,95).

RGB: (31,49,95) (12%, 19%, 37%)

RGB channels and saturation

R 31 of 255 = 12%
G 49 of 255 = 19%
B 95 of 255 = 37%

31
49
95

R + G + B ~ 23%. #1F315F is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 49 + 95 = 175 (100%)
R 31 of 175 ~ 17.71%
G 49 of 175 ~ 28%
B 95 of 175 ~ 54.29'%

%17.71
%28
%54.29

CMYK color model

#1F315F color CMYK value is (67,48,0,63).

  • cyan value is 67.37%
  • magenta value is 48.42%
  • yellow value is 0.00%
  • key color value is 62.75%

CMYK: (67,48,0,63)
C67M48Y0K63 (67%, 48%, 0%, 63%)
(0.67 / 0.48 / 0.00 / 0.63)

CMYK percentages

%67.37
%48.42
%0
%62.75

Codes

Color #1F315F in popluar color models

1F 31 5F
RGB 31 49 95
HSL 223° 50.79% 24.71%
HSB/HSV 223° 67.37% 37.25%
CMYK 67.37% 48.42% 0.00%
62.75%

Color #1F315F in popluar number systems.

HEX 1F 31 5F
Decimal 31 49 95
Binary 11111 110001 1011111
Octal 37 61 137

Shades and tints

Shades of #1F315F

#1F315F
(31,49,95)
#1D2D57
(29,45,87)
#1B294F
(27,41,79)
#192547
(25,37,71)
#17213F
(23,33,63)
#151D37
(21,29,55)
#13192F
(19,25,47)
#111527
(17,21,39)
#0F111F
(15,17,31)
#0D0D17
(13,13,23)
#0B090F
(11,9,15)
#000000
(0,0,0)

Tints of #1F315F

#1F315F
(31,49,95)
#33436D
(51,67,109)
#47557B
(71,85,123)
#5B6789
(91,103,137)
#6F7997
(111,121,151)
#838BA5
(131,139,165)
#979DB3
(151,157,179)
#ABAFC1
(171,175,193)
#BFC1CF
(191,193,207)
#D3D3DD
(211,211,221)
#E7E5EB
(231,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F315F; }

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

This text font color is #1F315F.

Background Color

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

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

This div background color is #1F315F.

Border color

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

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

This div border color is #1F315F.

Opacity

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

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

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

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

This text has shadow with #1F315F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F315F.

Preview

Color preview on black background

This text has color #1F315F on black background.


Color preview on white background

This text has color #1F315F on white background.


Black color preview on #1F315F background

This text has black color on #1F315F background.


White color preview on #1F315F background

This text has white color on #1F315F background.


Related colors

Complementary color

Complementary color for #hex is #E0CEA0.


I love getcolorcode.com

Triadic colors

1 #5F1F31 and #315F1F with #1F315F are triadic colors.

2 #5F311F and #311F5F with #1F315F are triadic colors.