COLOR #312B68

HEX: #312B68 RGB: (49,43,104)

Color info

#312B68 contains mainly red and blue colors. Web safe color of #312B68 is #333366 (or #336).

RGB color model

#312B68 color RGB value is (49,43,104).

RGB: (49,43,104) (19%, 17%, 41%)

RGB channels and saturation

R 49 of 255 = 19%
G 43 of 255 = 17%
B 104 of 255 = 41%

49
43
104

R + G + B ~ 26%. #312B68 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 43 + 104 = 196 (100%)
R 49 of 196 ~ 25%
G 43 of 196 ~ 21.94%
B 104 of 196 ~ 53.06'%

%25
%21.94
%53.06

CMYK color model

#312B68 color CMYK value is (53,59,0,59).

  • cyan value is 52.88%
  • magenta value is 58.65%
  • yellow value is 0.00%
  • key color value is 59.22%

CMYK: (53,59,0,59)
C53M59Y0K59 (53%, 59%, 0%, 59%)
(0.53 / 0.59 / 0.00 / 0.59)

CMYK percentages

%52.88
%58.65
%0
%59.22

Codes

Color #312B68 in popluar color models

31 2B 68
RGB 49 43 104
HSL 246° 41.50% 28.82%
HSB/HSV 246° 58.65% 40.78%
CMYK 52.88% 58.65% 0.00%
59.22%

Color #312B68 in popluar number systems.

HEX 31 2B 68
Decimal 49 43 104
Binary 110001 101011 1101000
Octal 61 53 150

Shades and tints

Shades of #312B68

#312B68
(49,43,104)
#2D285F
(45,40,95)
#292556
(41,37,86)
#25224D
(37,34,77)
#211F44
(33,31,68)
#1D1C3B
(29,28,59)
#191932
(25,25,50)
#151629
(21,22,41)
#111320
(17,19,32)
#0D1017
(13,16,23)
#090D0E
(9,13,14)
#000000
(0,0,0)

Tints of #312B68

#312B68
(49,43,104)
#433E75
(67,62,117)
#555182
(85,81,130)
#67648F
(103,100,143)
#79779C
(121,119,156)
#8B8AA9
(139,138,169)
#9D9DB6
(157,157,182)
#AFB0C3
(175,176,195)
#C1C3D0
(193,195,208)
#D3D6DD
(211,214,221)
#E5E9EA
(229,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312B68; }

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

This text font color is #312B68.

Background Color

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

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

This div background color is #312B68.

Border color

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

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

This div border color is #312B68.

Opacity

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

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

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

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

This text has shadow with #312B68 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312B68.

Preview

Color preview on black background

This text has color #312B68 on black background.


Color preview on white background

This text has color #312B68 on white background.


Black color preview on #312B68 background

This text has black color on #312B68 background.


White color preview on #312B68 background

This text has white color on #312B68 background.


Related colors

Complementary color

Complementary color for #hex is #CED497.


I love getcolorcode.com

Triadic colors

1 #68312B and #2B6831 with #312B68 are triadic colors.

2 #682B31 and #2B3168 with #312B68 are triadic colors.