COLOR #312B7E

HEX: #312B7E RGB: (49,43,126)

Color info

#312B7E contains mainly blue color. Web safe color of #312B7E is #333366 (or #336).

RGB color model

#312B7E color RGB value is (49,43,126).

RGB: (49,43,126) (19%, 17%, 49%)

RGB channels and saturation

R 49 of 255 = 19%
G 43 of 255 = 17%
B 126 of 255 = 49%

49
43
126

R + G + B ~ 28%. #312B7E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 43 + 126 = 218 (100%)
R 49 of 218 ~ 22.48%
G 43 of 218 ~ 19.72%
B 126 of 218 ~ 57.8'%

%22.48
%19.72
%57.8

CMYK color model

#312B7E color CMYK value is (61,66,0,51).

  • cyan value is 61.11%
  • magenta value is 65.87%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (61,66,0,51)
C61M66Y0K51 (61%, 66%, 0%, 51%)
(0.61 / 0.66 / 0.00 / 0.51)

CMYK percentages

%61.11
%65.87
%0
%50.59

Codes

Color #312B7E in popluar color models

31 2B 7E
RGB 49 43 126
HSL 244° 49.11% 33.14%
HSB/HSV 244° 65.87% 49.41%
CMYK 61.11% 65.87% 0.00%
50.59%

Color #312B7E in popluar number systems.

HEX 31 2B 7E
Decimal 49 43 126
Binary 110001 101011 1111110
Octal 61 53 176

Shades and tints

Shades of #312B7E

#312B7E
(49,43,126)
#2D2873
(45,40,115)
#292568
(41,37,104)
#25225D
(37,34,93)
#211F52
(33,31,82)
#1D1C47
(29,28,71)
#19193C
(25,25,60)
#151631
(21,22,49)
#111326
(17,19,38)
#0D101B
(13,16,27)
#090D10
(9,13,16)
#000000
(0,0,0)

Tints of #312B7E

#312B7E
(49,43,126)
#433E89
(67,62,137)
#555194
(85,81,148)
#67649F
(103,100,159)
#7977AA
(121,119,170)
#8B8AB5
(139,138,181)
#9D9DC0
(157,157,192)
#AFB0CB
(175,176,203)
#C1C3D6
(193,195,214)
#D3D6E1
(211,214,225)
#E5E9EC
(229,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312B7E color. Also use rgb(49,43,126) instead hex code.

Text Font Color

.myTextColor { color: #312B7E; }

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

This text font color is #312B7E.

Background Color

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

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

This div background color is #312B7E.

Border color

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

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

This div border color is #312B7E.

Opacity

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

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

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

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

This text has shadow with #312B7E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312B7E.

Preview

Color preview on black background

This text has color #312B7E on black background.


Color preview on white background

This text has color #312B7E on white background.


Black color preview on #312B7E background

This text has black color on #312B7E background.


White color preview on #312B7E background

This text has white color on #312B7E background.


Related colors

Complementary color

Complementary color for #hex is #CED481.


I love getcolorcode.com

Triadic colors

1 #7E312B and #2B7E31 with #312B7E are triadic colors.

2 #7E2B31 and #2B317E with #312B7E are triadic colors.