COLOR #312E5B

HEX: #312E5B
RGB: (49,46,91)

Color info

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

RGB color model

#312E5B color RGB value is (49,46,91).

  • red value is 49;
  • green value is 46;
  • blue value is 91.
RGB:
(49,46,91)
(19%,18%,36%)

RGB channels and saturation

R 49 of 255 = 19%
G 46 of 255 = 18%
B 91 of 255 = 36%

49
46
91

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

Portions of RGB colors in percentages

R + G + B =
49 + 46 + 91 = 186 (100%)
R 49 of 186 ~ 26.34%
G 46 of 186 ~ 24.73%
B 91 of 186 ~ 48.92%

%26.34
%24.73
%48.92

CMYK color model

#312E5B color CMYK value is (46,49,0,64).

  • cyan value is 46.15%
  • magenta value is 49.45%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(46,49,0,64)
C46M49Y0K64 
(46%,49%,0%,64%)
(0.46/0.49/0.00/0.64)	

CMYK percentages

%46.15
%49.45
%0
%64.31

Codes

Color #312E5B in popluar color models

312E5B
RGB494691
HSL244°32.85%26.86%
HSB/HSV244°49.45%35.69%
CMYK46.15%49.45%0.00%
64.31%

Color #312E5B in popluar number systems.

HEX312E5B
Decimal494691
Binary1100011011101011011
Octal6156133

Shades and tints

Shades of #312E5B

#312E5B
(49,46,91)
#2D2A53
(45,42,83)
#29264B
(41,38,75)
#252243
(37,34,67)
#211E3B
(33,30,59)
#1D1A33
(29,26,51)
#19162B
(25,22,43)
#151223
(21,18,35)
#110E1B
(17,14,27)
#0D0A13
(13,10,19)
#09060B
(9,6,11)
#000000
(0,0,0)

Tints of #312E5B

#312E5B
(49,46,91)
#434169
(67,65,105)
#555477
(85,84,119)
#676785
(103,103,133)
#797A93
(121,122,147)
#8B8DA1
(139,141,161)
#9DA0AF
(157,160,175)
#AFB3BD
(175,179,189)
#C1C6CB
(193,198,203)
#D3D9D9
(211,217,217)
#E5ECE7
(229,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312E5B color. Also use rgb(49,46,91) instead hex code.

Text Font Color

.myTextColor { color: #312E5B; }

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

This text font color is #312E5B.


Background Color

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

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

This div background color is #312E5B.


Border color

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

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

This div border color is #312E5B.


Opacity

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

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

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

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

This text has shadow with #312E5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312E5B on black background.


Color preview on white background

This text has color #312E5B on white background.



Black color preview on #312E5B background

This text has black color on #312E5B background.


White color preview on #312E5B background

This text has white color on #312E5B background.