COLOR #312176

HEX: #312176 RGB: (49,33,118)

Color info

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

RGB color model

#312176 color RGB value is (49,33,118).

RGB: (49,33,118) (19%, 13%, 46%)

RGB channels and saturation

R 49 of 255 = 19%
G 33 of 255 = 13%
B 118 of 255 = 46%

49
33
118

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

Portions of RGB colors in percentages

R + G + B = 49 + 33 + 118 = 200 (100%)
R 49 of 200 ~ 24.5%
G 33 of 200 ~ 16.5%
B 118 of 200 ~ 59'%

%24.5
%16.5
%59

CMYK color model

#312176 color CMYK value is (58,72,0,54).

  • cyan value is 58.47%
  • magenta value is 72.03%
  • yellow value is 0.00%
  • key color value is 53.73%

CMYK: (58,72,0,54)
C58M72Y0K54 (58%, 72%, 0%, 54%)
(0.58 / 0.72 / 0.00 / 0.54)

CMYK percentages

%58.47
%72.03
%0
%53.73

Codes

Color #312176 in popluar color models

31 21 76
RGB 49 33 118
HSL 251° 56.29% 29.61%
HSB/HSV 251° 72.03% 46.27%
CMYK 58.47% 72.03% 0.00%
53.73%

Color #312176 in popluar number systems.

HEX 31 21 76
Decimal 49 33 118
Binary 110001 100001 1110110
Octal 61 41 166

Shades and tints

Shades of #312176

#312176
(49,33,118)
#2D1E6C
(45,30,108)
#291B62
(41,27,98)
#251858
(37,24,88)
#21154E
(33,21,78)
#1D1244
(29,18,68)
#190F3A
(25,15,58)
#150C30
(21,12,48)
#110926
(17,9,38)
#0D061C
(13,6,28)
#090312
(9,3,18)
#000000
(0,0,0)

Tints of #312176

#312176
(49,33,118)
#433582
(67,53,130)
#55498E
(85,73,142)
#675D9A
(103,93,154)
#7971A6
(121,113,166)
#8B85B2
(139,133,178)
#9D99BE
(157,153,190)
#AFADCA
(175,173,202)
#C1C1D6
(193,193,214)
#D3D5E2
(211,213,226)
#E5E9EE
(229,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312176 color. Also use rgb(49,33,118) instead hex code.

Text Font Color

.myTextColor { color: #312176; }

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

This text font color is #312176.

Background Color

.myBgColor { background-color: #312176; }

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

This div background color is #312176.

Border color

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

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

This div border color is #312176.

Opacity

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

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

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

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

This text has shadow with #312176 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312176.

Preview

Color preview on black background

This text has color #312176 on black background.


Color preview on white background

This text has color #312176 on white background.


Black color preview on #312176 background

This text has black color on #312176 background.


White color preview on #312176 background

This text has white color on #312176 background.


Related colors

Complementary color

Complementary color for #hex is #CEDE89.


I love getcolorcode.com

Triadic colors

1 #763121 and #217631 with #312176 are triadic colors.

2 #762131 and #213176 with #312176 are triadic colors.