COLOR #312871

HEX: #312871 RGB: (49,40,113)

Color info

#312871 contains mainly blue color. Web safe color of #312871 is #333366 (or #336).

RGB color model

#312871 color RGB value is (49,40,113).

RGB: (49,40,113) (19%, 16%, 44%)

RGB channels and saturation

R 49 of 255 = 19%
G 40 of 255 = 16%
B 113 of 255 = 44%

49
40
113

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

Portions of RGB colors in percentages

R + G + B = 49 + 40 + 113 = 202 (100%)
R 49 of 202 ~ 24.26%
G 40 of 202 ~ 19.8%
B 113 of 202 ~ 55.94'%

%24.26
%19.8
%55.94

CMYK color model

#312871 color CMYK value is (57,65,0,56).

  • cyan value is 56.64%
  • magenta value is 64.60%
  • yellow value is 0.00%
  • key color value is 55.69%

CMYK: (57,65,0,56)
C57M65Y0K56 (57%, 65%, 0%, 56%)
(0.57 / 0.65 / 0.00 / 0.56)

CMYK percentages

%56.64
%64.6
%0
%55.69

Codes

Color #312871 in popluar color models

31 28 71
RGB 49 40 113
HSL 247° 47.71% 30.00%
HSB/HSV 247° 64.60% 44.31%
CMYK 56.64% 64.60% 0.00%
55.69%

Color #312871 in popluar number systems.

HEX 31 28 71
Decimal 49 40 113
Binary 110001 101000 1110001
Octal 61 50 161

Shades and tints

Shades of #312871

#312871
(49,40,113)
#2D2567
(45,37,103)
#29225D
(41,34,93)
#251F53
(37,31,83)
#211C49
(33,28,73)
#1D193F
(29,25,63)
#191635
(25,22,53)
#15132B
(21,19,43)
#111021
(17,16,33)
#0D0D17
(13,13,23)
#090A0D
(9,10,13)
#000000
(0,0,0)

Tints of #312871

#312871
(49,40,113)
#433B7D
(67,59,125)
#554E89
(85,78,137)
#676195
(103,97,149)
#7974A1
(121,116,161)
#8B87AD
(139,135,173)
#9D9AB9
(157,154,185)
#AFADC5
(175,173,197)
#C1C0D1
(193,192,209)
#D3D3DD
(211,211,221)
#E5E6E9
(229,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #312871; }

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

This text font color is #312871.

Background Color

.myBgColor { background-color: #312871; }

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

This div background color is #312871.

Border color

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

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

This div border color is #312871.

Opacity

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

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

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

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

This text has shadow with #312871 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312871.

Preview

Color preview on black background

This text has color #312871 on black background.


Color preview on white background

This text has color #312871 on white background.


Black color preview on #312871 background

This text has black color on #312871 background.


White color preview on #312871 background

This text has white color on #312871 background.


Related colors

Complementary color

Complementary color for #hex is #CED78E.


I love getcolorcode.com

Triadic colors

1 #713128 and #287131 with #312871 are triadic colors.

2 #712831 and #283171 with #312871 are triadic colors.