COLOR #313B7E

HEX: #313B7E RGB: (49,59,126)

Color info

#313B7E contains mainly blue color. Web safe color of #313B7E is #333366 (or #336).

RGB color model

#313B7E color RGB value is (49,59,126).

RGB: (49,59,126) (19%, 23%, 49%)

RGB channels and saturation

R 49 of 255 = 19%
G 59 of 255 = 23%
B 126 of 255 = 49%

49
59
126

R + G + B ~ 30%. #313B7E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 59 + 126 = 234 (100%)
R 49 of 234 ~ 20.94%
G 59 of 234 ~ 25.21%
B 126 of 234 ~ 53.85'%

%20.94
%25.21
%53.85

CMYK color model

#313B7E color CMYK value is (61,53,0,51).

  • cyan value is 61.11%
  • magenta value is 53.17%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (61,53,0,51)
C61M53Y0K51 (61%, 53%, 0%, 51%)
(0.61 / 0.53 / 0.00 / 0.51)

CMYK percentages

%61.11
%53.17
%0
%50.59

Codes

Color #313B7E in popluar color models

31 3B 7E
RGB 49 59 126
HSL 232° 44.00% 34.31%
HSB/HSV 232° 61.11% 49.41%
CMYK 61.11% 53.17% 0.00%
50.59%

Color #313B7E in popluar number systems.

HEX 31 3B 7E
Decimal 49 59 126
Binary 110001 111011 1111110
Octal 61 73 176

Shades and tints

Shades of #313B7E

#313B7E
(49,59,126)
#2D3673
(45,54,115)
#293168
(41,49,104)
#252C5D
(37,44,93)
#212752
(33,39,82)
#1D2247
(29,34,71)
#191D3C
(25,29,60)
#151831
(21,24,49)
#111326
(17,19,38)
#0D0E1B
(13,14,27)
#090910
(9,9,16)
#000000
(0,0,0)

Tints of #313B7E

#313B7E
(49,59,126)
#434C89
(67,76,137)
#555D94
(85,93,148)
#676E9F
(103,110,159)
#797FAA
(121,127,170)
#8B90B5
(139,144,181)
#9DA1C0
(157,161,192)
#AFB2CB
(175,178,203)
#C1C3D6
(193,195,214)
#D3D4E1
(211,212,225)
#E5E5EC
(229,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313B7E color. Also use rgb(49,59,126) instead hex code.

Text Font Color

.myTextColor { color: #313B7E; }

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

This text font color is #313B7E.

Background Color

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

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

This div background color is #313B7E.

Border color

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

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

This div border color is #313B7E.

Opacity

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

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

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

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

This text has shadow with #313B7E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #313B7E.

Preview

Color preview on black background

This text has color #313B7E on black background.


Color preview on white background

This text has color #313B7E on white background.


Black color preview on #313B7E background

This text has black color on #313B7E background.


White color preview on #313B7E background

This text has white color on #313B7E background.


Related colors

Complementary color

Complementary color for #hex is #CEC481.


I love getcolorcode.com

Triadic colors

1 #7E313B and #3B7E31 with #313B7E are triadic colors.

2 #7E3B31 and #3B317E with #313B7E are triadic colors.