COLOR #312968

HEX: #312968 RGB: (49,41,104)

Color info

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

RGB color model

#312968 color RGB value is (49,41,104).

RGB: (49,41,104) (19%, 16%, 41%)

RGB channels and saturation

R 49 of 255 = 19%
G 41 of 255 = 16%
B 104 of 255 = 41%

49
41
104

R + G + B ~ 25%. #312968 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 41 + 104 = 194 (100%)
R 49 of 194 ~ 25.26%
G 41 of 194 ~ 21.13%
B 104 of 194 ~ 53.61'%

%25.26
%21.13
%53.61

CMYK color model

#312968 color CMYK value is (53,61,0,59).

  • cyan value is 52.88%
  • magenta value is 60.58%
  • yellow value is 0.00%
  • key color value is 59.22%
CMYK: (53,61,0,59) C53M61Y0K59 (53%,61%,0%,59%) (0.53/0.61/0.00/0.59) 

CMYK percentages

%52.88
%60.58
%0
%59.22

Codes

Color #312968 in popluar color models

31 29 68
RGB 49 41 104
HSL 248° 43.45% 28.43%
HSB/HSV 248° 60.58% 40.78%
CMYK 52.88% 60.58% 0.00%
59.22%

Color #312968 in popluar number systems.

HEX 31 29 68
Decimal 49 41 104
Binary 110001 101001 1101000
Octal 61 51 150

Shades and tints

Shades of #312968

#312968
(49,41,104)
#2D265F
(45,38,95)
#292356
(41,35,86)
#25204D
(37,32,77)
#211D44
(33,29,68)
#1D1A3B
(29,26,59)
#191732
(25,23,50)
#151429
(21,20,41)
#111120
(17,17,32)
#0D0E17
(13,14,23)
#090B0E
(9,11,14)
#000000
(0,0,0)

Tints of #312968

#312968
(49,41,104)
#433C75
(67,60,117)
#554F82
(85,79,130)
#67628F
(103,98,143)
#79759C
(121,117,156)
#8B88A9
(139,136,169)
#9D9BB6
(157,155,182)
#AFAEC3
(175,174,195)
#C1C1D0
(193,193,208)
#D3D4DD
(211,212,221)
#E5E7EA
(229,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312968 color. Also use rgb(49,41,104) instead hex code.

Text Font Color

.myTextColor { color: #312968; }

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

This text font color is #312968.

Background Color

.myBgColor { background-color: #312968; }

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

This div background color is #312968.

Border color

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

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

This div border color is #312968.

Opacity

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

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

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

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

This text has shadow with #312968 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312968.

Preview

Color preview on black background

This text has color #312968 on black background.


Color preview on white background

This text has color #312968 on white background.


Black color preview on #312968 background

This text has black color on #312968 background.


White color preview on #312968 background

This text has white color on #312968 background.


Related colors

Complementary color

Complementary color for #hex is #CED697.


I love getcolorcode.com

Triadic colors

1 #683129 and #296831 with #312968 are triadic colors.

2 #682931 and #293168 with #312968 are triadic colors.