COLOR #31405E

HEX: #31405E
RGB: (49,64,94)

Color info

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

RGB color model

#31405E color RGB value is (49,64,94).

  • red value is 49;
  • green value is 64;
  • blue value is 94.
RGB:
(49,64,94)
(19%,25%,37%)

RGB channels and saturation

R 49 of 255 = 19%
G 64 of 255 = 25%
B 94 of 255 = 37%

49
64
94

R + G + B ~ 27%. #31405E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 64 + 94 = 207 (100%)
R 49 of 207 ~ 23.67%
G 64 of 207 ~ 30.92%
B 94 of 207 ~ 45.41%

%23.67
%30.92
%45.41

CMYK color model

#31405E color CMYK value is (48,32,0,63).

  • cyan value is 47.87%
  • magenta value is 31.91%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(48,32,0,63)
C48M32Y0K63 
(48%,32%,0%,63%)
(0.48/0.32/0.00/0.63)	

CMYK percentages

%47.87
%31.91
%0
%63.14

Codes

Color #31405E in popluar color models

31405E
RGB496494
HSL220°31.47%28.04%
HSB/HSV220°47.87%36.86%
CMYK47.87%31.91%0.00%
63.14%

Color #31405E in popluar number systems.

HEX31405E
Decimal496494
Binary11000110000001011110
Octal61100136

Shades and tints

Shades of #31405E

#31405E
(49,64,94)
#2D3B56
(45,59,86)
#29364E
(41,54,78)
#253146
(37,49,70)
#212C3E
(33,44,62)
#1D2736
(29,39,54)
#19222E
(25,34,46)
#151D26
(21,29,38)
#11181E
(17,24,30)
#0D1316
(13,19,22)
#090E0E
(9,14,14)
#000000
(0,0,0)

Tints of #31405E

#31405E
(49,64,94)
#43516C
(67,81,108)
#55627A
(85,98,122)
#677388
(103,115,136)
#798496
(121,132,150)
#8B95A4
(139,149,164)
#9DA6B2
(157,166,178)
#AFB7C0
(175,183,192)
#C1C8CE
(193,200,206)
#D3D9DC
(211,217,220)
#E5EAEA
(229,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31405E color. Also use rgb(49,64,94) instead hex code.

Text Font Color

.myTextColor { color: #31405E; }

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

This text font color is #31405E.


Background Color

.myBgColor { background-color: #31405E; }

<div style="background-color:#31405E">Inner text</div>

This div background color is #31405E.


Border color

.myBorderColor { border: 1px solid #31405E; }

<div style="border:3px solid #31405E">Div</div>

This div border color is #31405E.


Opacity

.myOpacity80 { color: #31405E; opacity: 0.8; }

<p style="color:#31405E;opacity:0.8;">80%</p>

Text with #31405E 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 #31405E;}

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

This text has shadow with #31405E color.

.textShadow {text-shadow: 3px 3px 1px #31405E, 3px 3px 1px red;}

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

This text has shadow with #31405E primary color and red secondary color.


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

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

This text has shadow with #31405E and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31405E on black background.


Color preview on white background

This text has color #31405E on white background.



Black color preview on #31405E background

This text has black color on #31405E background.


White color preview on #31405E background

This text has white color on #31405E background.