COLOR #313457

HEX: #313457
RGB: (49,52,87)

Color info

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

RGB color model

#313457 color RGB value is (49,52,87).

  • red value is 49;
  • green value is 52;
  • blue value is 87.
RGB:
(49,52,87)
(19%,20%,34%)

RGB channels and saturation

R 49 of 255 = 19%
G 52 of 255 = 20%
B 87 of 255 = 34%

49
52
87

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

Portions of RGB colors in percentages

R + G + B =
49 + 52 + 87 = 188 (100%)
R 49 of 188 ~ 26.06%
G 52 of 188 ~ 27.66%
B 87 of 188 ~ 46.28%

%26.06
%27.66
%46.28

CMYK color model

#313457 color CMYK value is (44,40,0,66).

  • cyan value is 43.68%
  • magenta value is 40.23%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(44,40,0,66)
C44M40Y0K66 
(44%,40%,0%,66%)
(0.44/0.40/0.00/0.66)	

CMYK percentages

%43.68
%40.23
%0
%65.88

Codes

Color #313457 in popluar color models

313457
RGB495287
HSL235°27.94%26.67%
HSB/HSV235°43.68%34.12%
CMYK43.68%40.23%0.00%
65.88%

Color #313457 in popluar number systems.

HEX313457
Decimal495287
Binary1100011101001010111
Octal6164127

Shades and tints

Shades of #313457

#313457
(49,52,87)
#2D3050
(45,48,80)
#292C49
(41,44,73)
#252842
(37,40,66)
#21243B
(33,36,59)
#1D2034
(29,32,52)
#191C2D
(25,28,45)
#151826
(21,24,38)
#11141F
(17,20,31)
#0D1018
(13,16,24)
#090C11
(9,12,17)
#000000
(0,0,0)

Tints of #313457

#313457
(49,52,87)
#434666
(67,70,102)
#555875
(85,88,117)
#676A84
(103,106,132)
#797C93
(121,124,147)
#8B8EA2
(139,142,162)
#9DA0B1
(157,160,177)
#AFB2C0
(175,178,192)
#C1C4CF
(193,196,207)
#D3D6DE
(211,214,222)
#E5E8ED
(229,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313457 color. Also use rgb(49,52,87) instead hex code.

Text Font Color

.myTextColor { color: #313457; }

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

This text font color is #313457.


Background Color

.myBgColor { background-color: #313457; }

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

This div background color is #313457.


Border color

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

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

This div border color is #313457.


Opacity

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

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

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

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

This text has shadow with #313457 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313457 on black background.


Color preview on white background

This text has color #313457 on white background.



Black color preview on #313457 background

This text has black color on #313457 background.


White color preview on #313457 background

This text has white color on #313457 background.