COLOR #313952

HEX: #313952 RGB: (49,57,82)

Color info

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

RGB color model

#313952 color RGB value is (49,57,82).

RGB: (49,57,82) (19%, 22%, 32%)

RGB channels and saturation

R 49 of 255 = 19%
G 57 of 255 = 22%
B 82 of 255 = 32%

49
57
82

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

Portions of RGB colors in percentages

R + G + B = 49 + 57 + 82 = 188 (100%)
R 49 of 188 ~ 26.06%
G 57 of 188 ~ 30.32%
B 82 of 188 ~ 43.62'%

%26.06
%30.32
%43.62

CMYK color model

#313952 color CMYK value is (40,30,0,68).

  • cyan value is 40.24%
  • magenta value is 30.49%
  • yellow value is 0.00%
  • key color value is 67.84%

CMYK: (40,30,0,68)
C40M30Y0K68 (40%, 30%, 0%, 68%)
(0.40 / 0.30 / 0.00 / 0.68)

CMYK percentages

%40.24
%30.49
%0
%67.84

Codes

Color #313952 in popluar color models

31 39 52
RGB 49 57 82
HSL 225° 25.19% 25.69%
HSB/HSV 225° 40.24% 32.16%
CMYK 40.24% 30.49% 0.00%
67.84%

Color #313952 in popluar number systems.

HEX 31 39 52
Decimal 49 57 82
Binary 110001 111001 1010010
Octal 61 71 122

Shades and tints

Shades of #313952

#313952
(49,57,82)
#2D344B
(45,52,75)
#292F44
(41,47,68)
#252A3D
(37,42,61)
#212536
(33,37,54)
#1D202F
(29,32,47)
#191B28
(25,27,40)
#151621
(21,22,33)
#11111A
(17,17,26)
#0D0C13
(13,12,19)
#09070C
(9,7,12)
#000000
(0,0,0)

Tints of #313952

#313952
(49,57,82)
#434B61
(67,75,97)
#555D70
(85,93,112)
#676F7F
(103,111,127)
#79818E
(121,129,142)
#8B939D
(139,147,157)
#9DA5AC
(157,165,172)
#AFB7BB
(175,183,187)
#C1C9CA
(193,201,202)
#D3DBD9
(211,219,217)
#E5EDE8
(229,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313952 color. Also use rgb(49,57,82) instead hex code.

Text Font Color

.myTextColor { color: #313952; }

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

This text font color is #313952.

Background Color

.myBgColor { background-color: #313952; }

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

This div background color is #313952.

Border color

.myBorderColor { border: 1px solid #313952; }

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

This div border color is #313952.

Opacity

.myOpacity80 { color: #313952; opacity: 0.8; }

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

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

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

This text has shadow with #313952 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #313952.

Preview

Color preview on black background

This text has color #313952 on black background.


Color preview on white background

This text has color #313952 on white background.


Black color preview on #313952 background

This text has black color on #313952 background.


White color preview on #313952 background

This text has white color on #313952 background.


Related colors

Complementary color

Complementary color for #hex is #CEC6AD.


I love getcolorcode.com

Triadic colors

1 #523139 and #395231 with #313952 are triadic colors.

2 #523931 and #393152 with #313952 are triadic colors.