COLOR #312F9D

HEX: #312F9D RGB: (49,47,157)

Color info

#312F9D contains mainly blue color. Web safe color of #312F9D is #333399 (or #339).

RGB color model

#312F9D color RGB value is (49,47,157).

RGB: (49,47,157) (19%, 18%, 62%)

RGB channels and saturation

R 49 of 255 = 19%
G 47 of 255 = 18%
B 157 of 255 = 62%

49
47
157

R + G + B ~ 33%. #312F9D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 47 + 157 = 253 (100%)
R 49 of 253 ~ 19.37%
G 47 of 253 ~ 18.58%
B 157 of 253 ~ 62.06'%

%19.37
%18.58
%62.06

CMYK color model

#312F9D color CMYK value is (69,70,0,38).

  • cyan value is 68.79%
  • magenta value is 70.06%
  • yellow value is 0.00%
  • key color value is 38.43%

CMYK: (69,70,0,38)
C69M70Y0K38 (69%, 70%, 0%, 38%)
(0.69 / 0.70 / 0.00 / 0.38)

CMYK percentages

%68.79
%70.06
%0
%38.43

Codes

Color #312F9D in popluar color models

31 2F 9D
RGB 49 47 157
HSL 241° 53.92% 40.00%
HSB/HSV 241° 70.06% 61.57%
CMYK 68.79% 70.06% 0.00%
38.43%

Color #312F9D in popluar number systems.

HEX 31 2F 9D
Decimal 49 47 157
Binary 110001 101111 10011101
Octal 61 57 235

Shades and tints

Shades of #312F9D

#312F9D
(49,47,157)
#2D2B8F
(45,43,143)
#292781
(41,39,129)
#252373
(37,35,115)
#211F65
(33,31,101)
#1D1B57
(29,27,87)
#191749
(25,23,73)
#15133B
(21,19,59)
#110F2D
(17,15,45)
#0D0B1F
(13,11,31)
#090711
(9,7,17)
#000000
(0,0,0)

Tints of #312F9D

#312F9D
(49,47,157)
#4341A5
(67,65,165)
#5553AD
(85,83,173)
#6765B5
(103,101,181)
#7977BD
(121,119,189)
#8B89C5
(139,137,197)
#9D9BCD
(157,155,205)
#AFADD5
(175,173,213)
#C1BFDD
(193,191,221)
#D3D1E5
(211,209,229)
#E5E3ED
(229,227,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312F9D color. Also use rgb(49,47,157) instead hex code.

Text Font Color

.myTextColor { color: #312F9D; }

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

This text font color is #312F9D.

Background Color

.myBgColor { background-color: #312F9D; }

<div style="background-color:#312F9D">Inner text</div>

This div background color is #312F9D.

Border color

.myBorderColor { border: 1px solid #312F9D; }

<div style="border:3px solid #312F9D">Div</div>

This div border color is #312F9D.

Opacity

.myOpacity80 { color: #312F9D; opacity: 0.8; }

<p style="color:#312F9D;opacity:0.8;">80%</p>

Text with #312F9D 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 #312F9D;}

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

This text has shadow with #312F9D color.


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

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

This text has shadow with #312F9D primary color and red secondary color.


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

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

This text has shadow with #312F9D and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #312F9D.

Preview

Color preview on black background

This text has color #312F9D on black background.


Color preview on white background

This text has color #312F9D on white background.


Black color preview on #312F9D background

This text has black color on #312F9D background.


White color preview on #312F9D background

This text has white color on #312F9D background.


Related colors

Complementary color

Complementary color for #hex is #CED062.


I love getcolorcode.com

Triadic colors

1 #9D312F and #2F9D31 with #312F9D are triadic colors.

2 #9D2F31 and #2F319D with #312F9D are triadic colors.