COLOR #313057

HEX: #313057 RGB: (49,48,87)

Color info

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

RGB color model

#313057 color RGB value is (49,48,87).

RGB: (49,48,87) (19%, 19%, 34%)

RGB channels and saturation

R 49 of 255 = 19%
G 48 of 255 = 19%
B 87 of 255 = 34%

49
48
87

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

Portions of RGB colors in percentages

R + G + B = 49 + 48 + 87 = 184 (100%)
R 49 of 184 ~ 26.63%
G 48 of 184 ~ 26.09%
B 87 of 184 ~ 47.28'%

%26.63
%26.09
%47.28

CMYK color model

#313057 color CMYK value is (44,45,0,66).

  • cyan value is 43.68%
  • magenta value is 44.83%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK: (44,45,0,66) C44M45Y0K66 (44%,45%,0%,66%) (0.44/0.45/0.00/0.66) 

CMYK percentages

%43.68
%44.83
%0
%65.88

Codes

Color #313057 in popluar color models

31 30 57
RGB 49 48 87
HSL 242° 28.89% 26.47%
HSB/HSV 242° 44.83% 34.12%
CMYK 43.68% 44.83% 0.00%
65.88%

Color #313057 in popluar number systems.

HEX 31 30 57
Decimal 49 48 87
Binary 110001 110000 1010111
Octal 61 60 127

Shades and tints

Shades of #313057

#313057
(49,48,87)
#2D2C50
(45,44,80)
#292849
(41,40,73)
#252442
(37,36,66)
#21203B
(33,32,59)
#1D1C34
(29,28,52)
#19182D
(25,24,45)
#151426
(21,20,38)
#11101F
(17,16,31)
#0D0C18
(13,12,24)
#090811
(9,8,17)
#000000
(0,0,0)

Tints of #313057

#313057
(49,48,87)
#434266
(67,66,102)
#555475
(85,84,117)
#676684
(103,102,132)
#797893
(121,120,147)
#8B8AA2
(139,138,162)
#9D9CB1
(157,156,177)
#AFAEC0
(175,174,192)
#C1C0CF
(193,192,207)
#D3D2DE
(211,210,222)
#E5E4ED
(229,228,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #313057; }

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

This text font color is #313057.

Background Color

.myBgColor { background-color: #313057; }

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

This div background color is #313057.

Border color

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

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

This div border color is #313057.

Opacity

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

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

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

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

This text has shadow with #313057 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #313057.

Preview

Color preview on black background

This text has color #313057 on black background.


Color preview on white background

This text has color #313057 on white background.


Black color preview on #313057 background

This text has black color on #313057 background.


White color preview on #313057 background

This text has white color on #313057 background.


Related colors

Complementary color

Complementary color for #hex is #CECFA8.


I love getcolorcode.com

Triadic colors

1 #573130 and #305731 with #313057 are triadic colors.

2 #573031 and #303157 with #313057 are triadic colors.