COLOR #311D6D

HEX: #311D6D
RGB: (49,29,109)

Color info

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

RGB color model

#311D6D color RGB value is (49,29,109).

  • red value is 49;
  • green value is 29;
  • blue value is 109.
RGB:
(49,29,109)
(19%,11%,43%)

RGB channels and saturation

R 49 of 255 = 19%
G 29 of 255 = 11%
B 109 of 255 = 43%

49
29
109

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

Portions of RGB colors in percentages

R + G + B =
49 + 29 + 109 = 187 (100%)
R 49 of 187 ~ 26.2%
G 29 of 187 ~ 15.51%
B 109 of 187 ~ 58.29%

%26.2
%15.51
%58.29

CMYK color model

#311D6D color CMYK value is (55,73,0,57).

  • cyan value is 55.05%
  • magenta value is 73.39%
  • yellow value is 0.00%
  • key color value is 57.25%
CMYK:
(55,73,0,57)
C55M73Y0K57 
(55%,73%,0%,57%)
(0.55/0.73/0.00/0.57)	

CMYK percentages

%55.05
%73.39
%0
%57.25

Codes

Color #311D6D in popluar color models

311D6D
RGB4929109
HSL255°57.97%27.06%
HSB/HSV255°73.39%42.75%
CMYK55.05%73.39%0.00%
57.25%

Color #311D6D in popluar number systems.

HEX311D6D
Decimal4929109
Binary110001111011101101
Octal6135155

Shades and tints

Shades of #311D6D

#311D6D
(49,29,109)
#2D1B64
(45,27,100)
#29195B
(41,25,91)
#251752
(37,23,82)
#211549
(33,21,73)
#1D1340
(29,19,64)
#191137
(25,17,55)
#150F2E
(21,15,46)
#110D25
(17,13,37)
#0D0B1C
(13,11,28)
#090913
(9,9,19)
#000000
(0,0,0)

Tints of #311D6D

#311D6D
(49,29,109)
#43317A
(67,49,122)
#554587
(85,69,135)
#675994
(103,89,148)
#796DA1
(121,109,161)
#8B81AE
(139,129,174)
#9D95BB
(157,149,187)
#AFA9C8
(175,169,200)
#C1BDD5
(193,189,213)
#D3D1E2
(211,209,226)
#E5E5EF
(229,229,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311D6D color. Also use rgb(49,29,109) instead hex code.

Text Font Color

.myTextColor { color: #311D6D; }

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

This text font color is #311D6D.


Background Color

.myBgColor { background-color: #311D6D; }

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

This div background color is #311D6D.


Border color

.myBorderColor { border: 1px solid #311D6D; }

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

This div border color is #311D6D.


Opacity

.myOpacity80 { color: #311D6D; opacity: 0.8; }

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

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

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

This text has shadow with #311D6D color.

.textShadow {text-shadow: 3px 3px 1px #311D6D, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #311D6D;
-webkit-box-shadow: 1px 1px 3px 2px #311D6D;
box-shadow:1px 1px 3px 2px #311D6D;">
Div content here</div>
This div box has shadow with color #311D6D.

Preview

Color preview on black background

This text has color #311D6D on black background.


Color preview on white background

This text has color #311D6D on white background.



Black color preview on #311D6D background

This text has black color on #311D6D background.


White color preview on #311D6D background

This text has white color on #311D6D background.