COLOR #313871

HEX: #313871
RGB: (49,56,113)

Color info

#313871 contains mainly green and blue colors. Web safe color of #313871 is #333366 (or #336).

RGB color model

#313871 color RGB value is (49,56,113).

  • red value is 49;
  • green value is 56;
  • blue value is 113.
RGB:
(49,56,113)
(19%,22%,44%)

RGB channels and saturation

R 49 of 255 = 19%
G 56 of 255 = 22%
B 113 of 255 = 44%

49
56
113

R + G + B ~ 28%. #313871 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 56 + 113 = 218 (100%)
R 49 of 218 ~ 22.48%
G 56 of 218 ~ 25.69%
B 113 of 218 ~ 51.83%

%22.48
%25.69
%51.83

CMYK color model

#313871 color CMYK value is (57,50,0,56).

  • cyan value is 56.64%
  • magenta value is 50.44%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(57,50,0,56)
C57M50Y0K56 
(57%,50%,0%,56%)
(0.57/0.50/0.00/0.56)	

CMYK percentages

%56.64
%50.44
%0
%55.69

Codes

Color #313871 in popluar color models

313871
RGB4956113
HSL233°39.51%31.76%
HSB/HSV233°56.64%44.31%
CMYK56.64%50.44%0.00%
55.69%

Color #313871 in popluar number systems.

HEX313871
Decimal4956113
Binary1100011110001110001
Octal6170161

Shades and tints

Shades of #313871

#313871
(49,56,113)
#2D3367
(45,51,103)
#292E5D
(41,46,93)
#252953
(37,41,83)
#212449
(33,36,73)
#1D1F3F
(29,31,63)
#191A35
(25,26,53)
#15152B
(21,21,43)
#111021
(17,16,33)
#0D0B17
(13,11,23)
#09060D
(9,6,13)
#000000
(0,0,0)

Tints of #313871

#313871
(49,56,113)
#434A7D
(67,74,125)
#555C89
(85,92,137)
#676E95
(103,110,149)
#7980A1
(121,128,161)
#8B92AD
(139,146,173)
#9DA4B9
(157,164,185)
#AFB6C5
(175,182,197)
#C1C8D1
(193,200,209)
#D3DADD
(211,218,221)
#E5ECE9
(229,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313871 color. Also use rgb(49,56,113) instead hex code.

Text Font Color

.myTextColor { color: #313871; }

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

This text font color is #313871.


Background Color

.myBgColor { background-color: #313871; }

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

This div background color is #313871.


Border color

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

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

This div border color is #313871.


Opacity

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

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

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

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

This text has shadow with #313871 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313871 on black background.


Color preview on white background

This text has color #313871 on white background.



Black color preview on #313871 background

This text has black color on #313871 background.


White color preview on #313871 background

This text has white color on #313871 background.