COLOR #313D8D

HEX: #313D8D
RGB: (49,61,141)

Color info

#313D8D contains mainly blue color. Web safe color of #313D8D is #333399 (or #339).

RGB color model

#313D8D color RGB value is (49,61,141).

  • red value is 49;
  • green value is 61;
  • blue value is 141.
RGB:
(49,61,141)
(19%,24%,55%)

RGB channels and saturation

R 49 of 255 = 19%
G 61 of 255 = 24%
B 141 of 255 = 55%

49
61
141

R + G + B ~ 33%. #313D8D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 61 + 141 = 251 (100%)
R 49 of 251 ~ 19.52%
G 61 of 251 ~ 24.3%
B 141 of 251 ~ 56.18%

%19.52
%24.3
%56.18

CMYK color model

#313D8D color CMYK value is (65,57,0,45).

  • cyan value is 65.25%
  • magenta value is 56.74%
  • yellow value is 0.00%
  • key color value is 44.71%
CMYK:
(65,57,0,45)
C65M57Y0K45 
(65%,57%,0%,45%)
(0.65/0.57/0.00/0.45)	

CMYK percentages

%65.25
%56.74
%0
%44.71

Codes

Color #313D8D in popluar color models

313D8D
RGB4961141
HSL232°48.42%37.25%
HSB/HSV232°65.25%55.29%
CMYK65.25%56.74%0.00%
44.71%

Color #313D8D in popluar number systems.

HEX313D8D
Decimal4961141
Binary11000111110110001101
Octal6175215

Shades and tints

Shades of #313D8D

#313D8D
(49,61,141)
#2D3881
(45,56,129)
#293375
(41,51,117)
#252E69
(37,46,105)
#21295D
(33,41,93)
#1D2451
(29,36,81)
#191F45
(25,31,69)
#151A39
(21,26,57)
#11152D
(17,21,45)
#0D1021
(13,16,33)
#090B15
(9,11,21)
#000000
(0,0,0)

Tints of #313D8D

#313D8D
(49,61,141)
#434E97
(67,78,151)
#555FA1
(85,95,161)
#6770AB
(103,112,171)
#7981B5
(121,129,181)
#8B92BF
(139,146,191)
#9DA3C9
(157,163,201)
#AFB4D3
(175,180,211)
#C1C5DD
(193,197,221)
#D3D6E7
(211,214,231)
#E5E7F1
(229,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313D8D color. Also use rgb(49,61,141) instead hex code.

Text Font Color

.myTextColor { color: #313D8D; }

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

This text font color is #313D8D.


Background Color

.myBgColor { background-color: #313D8D; }

<div style="background-color:#313D8D">Inner text</div>

This div background color is #313D8D.


Border color

.myBorderColor { border: 1px solid #313D8D; }

<div style="border:3px solid #313D8D">Div</div>

This div border color is #313D8D.


Opacity

.myOpacity80 { color: #313D8D; opacity: 0.8; }

<p style="color:#313D8D;opacity:0.8;">80%</p>

Text with #313D8D 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 #313D8D;}

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

This text has shadow with #313D8D color.

.textShadow {text-shadow: 3px 3px 1px #313D8D, 3px 3px 1px red;}

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

This text has shadow with #313D8D primary color and red secondary color.


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

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

This text has shadow with #313D8D and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313D8D on black background.


Color preview on white background

This text has color #313D8D on white background.



Black color preview on #313D8D background

This text has black color on #313D8D background.


White color preview on #313D8D background

This text has white color on #313D8D background.