COLOR #313D8B

HEX: #313D8B RGB: (49,61,139)

Color info

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

RGB color model

#313D8B color RGB value is (49,61,139).

RGB: (49,61,139) (19%, 24%, 55%)

RGB channels and saturation

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

49
61
139

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

Portions of RGB colors in percentages

R + G + B = 49 + 61 + 139 = 249 (100%)
R 49 of 249 ~ 19.68%
G 61 of 249 ~ 24.5%
B 139 of 249 ~ 55.82'%

%19.68
%24.5
%55.82

CMYK color model

#313D8B color CMYK value is (65,56,0,45).

  • cyan value is 64.75%
  • magenta value is 56.12%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK: (65,56,0,45) C65M56Y0K45 (65%,56%,0%,45%) (0.65/0.56/0.00/0.45) 

CMYK percentages

%64.75
%56.12
%0
%45.49

Codes

Color #313D8B in popluar color models

31 3D 8B
RGB 49 61 139
HSL 232° 47.87% 36.86%
HSB/HSV 232° 64.75% 54.51%
CMYK 64.75% 56.12% 0.00%
45.49%

Color #313D8B in popluar number systems.

HEX 31 3D 8B
Decimal 49 61 139
Binary 110001 111101 10001011
Octal 61 75 213

Shades and tints

Shades of #313D8B

#313D8B
(49,61,139)
#2D387F
(45,56,127)
#293373
(41,51,115)
#252E67
(37,46,103)
#21295B
(33,41,91)
#1D244F
(29,36,79)
#191F43
(25,31,67)
#151A37
(21,26,55)
#11152B
(17,21,43)
#0D101F
(13,16,31)
#090B13
(9,11,19)
#000000
(0,0,0)

Tints of #313D8B

#313D8B
(49,61,139)
#434E95
(67,78,149)
#555F9F
(85,95,159)
#6770A9
(103,112,169)
#7981B3
(121,129,179)
#8B92BD
(139,146,189)
#9DA3C7
(157,163,199)
#AFB4D1
(175,180,209)
#C1C5DB
(193,197,219)
#D3D6E5
(211,214,229)
#E5E7EF
(229,231,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313D8B; }

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

This text font color is #313D8B.

Background Color

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

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

This div background color is #313D8B.

Border color

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

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

This div border color is #313D8B.

Opacity

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

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

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

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

This text has shadow with #313D8B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #313D8B.

Preview

Color preview on black background

This text has color #313D8B on black background.


Color preview on white background

This text has color #313D8B on white background.


Black color preview on #313D8B background

This text has black color on #313D8B background.


White color preview on #313D8B background

This text has white color on #313D8B background.


Related colors

Complementary color

Complementary color for #hex is #CEC274.


I love getcolorcode.com

Triadic colors

1 #8B313D and #3D8B31 with #313D8B are triadic colors.

2 #8B3D31 and #3D318B with #313D8B are triadic colors.