COLOR #313A5F

HEX: #313A5F
RGB: (49,58,95)

Color info

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

RGB color model

#313A5F color RGB value is (49,58,95).

  • red value is 49;
  • green value is 58;
  • blue value is 95.
RGB:
(49,58,95)
(19%,23%,37%)

RGB channels and saturation

R 49 of 255 = 19%
G 58 of 255 = 23%
B 95 of 255 = 37%

49
58
95

R + G + B ~ 26%. #313A5F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 58 + 95 = 202 (100%)
R 49 of 202 ~ 24.26%
G 58 of 202 ~ 28.71%
B 95 of 202 ~ 47.03%

%24.26
%28.71
%47.03

CMYK color model

#313A5F color CMYK value is (48,39,0,63).

  • cyan value is 48.42%
  • magenta value is 38.95%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(48,39,0,63)
C48M39Y0K63 
(48%,39%,0%,63%)
(0.48/0.39/0.00/0.63)	

CMYK percentages

%48.42
%38.95
%0
%62.75

Codes

Color #313A5F in popluar color models

313A5F
RGB495895
HSL228°31.94%28.24%
HSB/HSV228°48.42%37.25%
CMYK48.42%38.95%0.00%
62.75%

Color #313A5F in popluar number systems.

HEX313A5F
Decimal495895
Binary1100011110101011111
Octal6172137

Shades and tints

Shades of #313A5F

#313A5F
(49,58,95)
#2D3557
(45,53,87)
#29304F
(41,48,79)
#252B47
(37,43,71)
#21263F
(33,38,63)
#1D2137
(29,33,55)
#191C2F
(25,28,47)
#151727
(21,23,39)
#11121F
(17,18,31)
#0D0D17
(13,13,23)
#09080F
(9,8,15)
#000000
(0,0,0)

Tints of #313A5F

#313A5F
(49,58,95)
#434B6D
(67,75,109)
#555C7B
(85,92,123)
#676D89
(103,109,137)
#797E97
(121,126,151)
#8B8FA5
(139,143,165)
#9DA0B3
(157,160,179)
#AFB1C1
(175,177,193)
#C1C2CF
(193,194,207)
#D3D3DD
(211,211,221)
#E5E4EB
(229,228,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313A5F color. Also use rgb(49,58,95) instead hex code.

Text Font Color

.myTextColor { color: #313A5F; }

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

This text font color is #313A5F.


Background Color

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

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

This div background color is #313A5F.


Border color

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

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

This div border color is #313A5F.


Opacity

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

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

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

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

This text has shadow with #313A5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313A5F on black background.


Color preview on white background

This text has color #313A5F on white background.



Black color preview on #313A5F background

This text has black color on #313A5F background.


White color preview on #313A5F background

This text has white color on #313A5F background.