COLOR #312462

HEX: #312462 RGB: (49,36,98)

Color info

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

RGB color model

#312462 color RGB value is (49,36,98).

RGB: (49,36,98) (19%, 14%, 38%)

RGB channels and saturation

R 49 of 255 = 19%
G 36 of 255 = 14%
B 98 of 255 = 38%

49
36
98

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

Portions of RGB colors in percentages

R + G + B = 49 + 36 + 98 = 183 (100%)
R 49 of 183 ~ 26.78%
G 36 of 183 ~ 19.67%
B 98 of 183 ~ 53.55'%

%26.78
%19.67
%53.55

CMYK color model

#312462 color CMYK value is (50,63,0,62).

  • cyan value is 50.00%
  • magenta value is 63.27%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK: (50,63,0,62) C50M63Y0K62 (50%,63%,0%,62%) (0.50/0.63/0.00/0.62) 

CMYK percentages

%50
%63.27
%0
%61.57

Codes

Color #312462 in popluar color models

31 24 62
RGB 49 36 98
HSL 253° 46.27% 26.27%
HSB/HSV 253° 63.27% 38.43%
CMYK 50.00% 63.27% 0.00%
61.57%

Color #312462 in popluar number systems.

HEX 31 24 62
Decimal 49 36 98
Binary 110001 100100 1100010
Octal 61 44 142

Shades and tints

Shades of #312462

#312462
(49,36,98)
#2D215A
(45,33,90)
#291E52
(41,30,82)
#251B4A
(37,27,74)
#211842
(33,24,66)
#1D153A
(29,21,58)
#191232
(25,18,50)
#150F2A
(21,15,42)
#110C22
(17,12,34)
#0D091A
(13,9,26)
#090612
(9,6,18)
#000000
(0,0,0)

Tints of #312462

#312462
(49,36,98)
#433770
(67,55,112)
#554A7E
(85,74,126)
#675D8C
(103,93,140)
#79709A
(121,112,154)
#8B83A8
(139,131,168)
#9D96B6
(157,150,182)
#AFA9C4
(175,169,196)
#C1BCD2
(193,188,210)
#D3CFE0
(211,207,224)
#E5E2EE
(229,226,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312462 color. Also use rgb(49,36,98) instead hex code.

Text Font Color

.myTextColor { color: #312462; }

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

This text font color is #312462.

Background Color

.myBgColor { background-color: #312462; }

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

This div background color is #312462.

Border color

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

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

This div border color is #312462.

Opacity

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

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

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

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

This text has shadow with #312462 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312462.

Preview

Color preview on black background

This text has color #312462 on black background.


Color preview on white background

This text has color #312462 on white background.


Black color preview on #312462 background

This text has black color on #312462 background.


White color preview on #312462 background

This text has white color on #312462 background.


Related colors

Complementary color

Complementary color for #hex is #CEDB9D.


I love getcolorcode.com

Triadic colors

1 #623124 and #246231 with #312462 are triadic colors.

2 #622431 and #243162 with #312462 are triadic colors.