COLOR #1F315D

HEX: #1F315D
RGB: (31,49,93)

Color info

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

RGB color model

#1F315D color RGB value is (31,49,93).

  • red value is 31;
  • green value is 49;
  • blue value is 93.
RGB:
(31,49,93)
(12%,19%,36%)

RGB channels and saturation

R 31 of 255 = 12%
G 49 of 255 = 19%
B 93 of 255 = 36%

31
49
93

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

Portions of RGB colors in percentages

R + G + B =
31 + 49 + 93 = 173 (100%)
R 31 of 173 ~ 17.92%
G 49 of 173 ~ 28.32%
B 93 of 173 ~ 53.76%

%17.92
%28.32
%53.76

CMYK color model

#1F315D color CMYK value is (67,47,0,64).

  • cyan value is 66.67%
  • magenta value is 47.31%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(67,47,0,64)
C67M47Y0K64 
(67%,47%,0%,64%)
(0.67/0.47/0.00/0.64)	

CMYK percentages

%66.67
%47.31
%0
%63.53

Codes

Color #1F315D in popluar color models

1F315D
RGB314993
HSL223°50.00%24.31%
HSB/HSV223°66.67%36.47%
CMYK66.67%47.31%0.00%
63.53%

Color #1F315D in popluar number systems.

HEX1F315D
Decimal314993
Binary111111100011011101
Octal3761135

Shades and tints

Shades of #1F315D

#1F315D
(31,49,93)
#1D2D55
(29,45,85)
#1B294D
(27,41,77)
#192545
(25,37,69)
#17213D
(23,33,61)
#151D35
(21,29,53)
#13192D
(19,25,45)
#111525
(17,21,37)
#0F111D
(15,17,29)
#0D0D15
(13,13,21)
#0B090D
(11,9,13)
#000000
(0,0,0)

Tints of #1F315D

#1F315D
(31,49,93)
#33436B
(51,67,107)
#475579
(71,85,121)
#5B6787
(91,103,135)
#6F7995
(111,121,149)
#838BA3
(131,139,163)
#979DB1
(151,157,177)
#ABAFBF
(171,175,191)
#BFC1CD
(191,193,205)
#D3D3DB
(211,211,219)
#E7E5E9
(231,229,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F315D; }

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

This text font color is #1F315D.


Background Color

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

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

This div background color is #1F315D.


Border color

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

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

This div border color is #1F315D.


Opacity

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

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

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

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

This text has shadow with #1F315D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F315D on black background.


Color preview on white background

This text has color #1F315D on white background.



Black color preview on #1F315D background

This text has black color on #1F315D background.


White color preview on #1F315D background

This text has white color on #1F315D background.