COLOR #312D58

HEX: #312D58
RGB: (49,45,88)

Color info

#312D58 contains red, green and blue colors in about the same proportion. Web safe color of #312D58 is #333366 (or #336).

RGB color model

#312D58 color RGB value is (49,45,88).

  • red value is 49;
  • green value is 45;
  • blue value is 88.
RGB:
(49,45,88)
(19%,18%,35%)

RGB channels and saturation

R 49 of 255 = 19%
G 45 of 255 = 18%
B 88 of 255 = 35%

49
45
88

R + G + B ~ 24%. #312D58 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 45 + 88 = 182 (100%)
R 49 of 182 ~ 26.92%
G 45 of 182 ~ 24.73%
B 88 of 182 ~ 48.35%

%26.92
%24.73
%48.35

CMYK color model

#312D58 color CMYK value is (44,49,0,65).

  • cyan value is 44.32%
  • magenta value is 48.86%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(44,49,0,65)
C44M49Y0K65 
(44%,49%,0%,65%)
(0.44/0.49/0.00/0.65)	

CMYK percentages

%44.32
%48.86
%0
%65.49

Codes

Color #312D58 in popluar color models

312D58
RGB494588
HSL246°32.33%26.08%
HSB/HSV246°48.86%34.51%
CMYK44.32%48.86%0.00%
65.49%

Color #312D58 in popluar number systems.

HEX312D58
Decimal494588
Binary1100011011011011000
Octal6155130

Shades and tints

Shades of #312D58

#312D58
(49,45,88)
#2D2950
(45,41,80)
#292548
(41,37,72)
#252140
(37,33,64)
#211D38
(33,29,56)
#1D1930
(29,25,48)
#191528
(25,21,40)
#151120
(21,17,32)
#110D18
(17,13,24)
#0D0910
(13,9,16)
#090508
(9,5,8)
#000000
(0,0,0)

Tints of #312D58

#312D58
(49,45,88)
#434067
(67,64,103)
#555376
(85,83,118)
#676685
(103,102,133)
#797994
(121,121,148)
#8B8CA3
(139,140,163)
#9D9FB2
(157,159,178)
#AFB2C1
(175,178,193)
#C1C5D0
(193,197,208)
#D3D8DF
(211,216,223)
#E5EBEE
(229,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312D58 color. Also use rgb(49,45,88) instead hex code.

Text Font Color

.myTextColor { color: #312D58; }

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

This text font color is #312D58.


Background Color

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

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

This div background color is #312D58.


Border color

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

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

This div border color is #312D58.


Opacity

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

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

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

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

This text has shadow with #312D58 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312D58 on black background.


Color preview on white background

This text has color #312D58 on white background.



Black color preview on #312D58 background

This text has black color on #312D58 background.


White color preview on #312D58 background

This text has white color on #312D58 background.