COLOR #312548

HEX: #312548 RGB: (49,37,72)

Color info

#312548 contains red, green and blue colors in about the same proportion. Web safe color of #312548 is #333333 (or #333).

RGB color model

#312548 color RGB value is (49,37,72).

RGB: (49,37,72) (19%, 15%, 28%)

RGB channels and saturation

R 49 of 255 = 19%
G 37 of 255 = 15%
B 72 of 255 = 28%

49
37
72

R + G + B ~ 21%. #312548 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 37 + 72 = 158 (100%)
R 49 of 158 ~ 31.01%
G 37 of 158 ~ 23.42%
B 72 of 158 ~ 45.57'%

%31.01
%23.42
%45.57

CMYK color model

#312548 color CMYK value is (32,49,0,72).

  • cyan value is 31.94%
  • magenta value is 48.61%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK: (32,49,0,72) C32M49Y0K72 (32%,49%,0%,72%) (0.32/0.49/0.00/0.72) 

CMYK percentages

%31.94
%48.61
%0
%71.76

Codes

Color #312548 in popluar color models

31 25 48
RGB 49 37 72
HSL 261° 32.11% 21.37%
HSB/HSV 261° 48.61% 28.24%
CMYK 31.94% 48.61% 0.00%
71.76%

Color #312548 in popluar number systems.

HEX 31 25 48
Decimal 49 37 72
Binary 110001 100101 1001000
Octal 61 45 110

Shades and tints

Shades of #312548

#312548
(49,37,72)
#2D2242
(45,34,66)
#291F3C
(41,31,60)
#251C36
(37,28,54)
#211930
(33,25,48)
#1D162A
(29,22,42)
#191324
(25,19,36)
#15101E
(21,16,30)
#110D18
(17,13,24)
#0D0A12
(13,10,18)
#09070C
(9,7,12)
#000000
(0,0,0)

Tints of #312548

#312548
(49,37,72)
#433858
(67,56,88)
#554B68
(85,75,104)
#675E78
(103,94,120)
#797188
(121,113,136)
#8B8498
(139,132,152)
#9D97A8
(157,151,168)
#AFAAB8
(175,170,184)
#C1BDC8
(193,189,200)
#D3D0D8
(211,208,216)
#E5E3E8
(229,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312548 color. Also use rgb(49,37,72) instead hex code.

Text Font Color

.myTextColor { color: #312548; }

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

This text font color is #312548.

Background Color

.myBgColor { background-color: #312548; }

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

This div background color is #312548.

Border color

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

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

This div border color is #312548.

Opacity

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

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

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

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

This text has shadow with #312548 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312548.

Preview

Color preview on black background

This text has color #312548 on black background.


Color preview on white background

This text has color #312548 on white background.


Black color preview on #312548 background

This text has black color on #312548 background.


White color preview on #312548 background

This text has white color on #312548 background.


Related colors

Complementary color

Complementary color for #hex is #CEDAB7.


I love getcolorcode.com

Triadic colors

1 #483125 and #254831 with #312548 are triadic colors.

2 #482531 and #253148 with #312548 are triadic colors.