COLOR #311D8E

HEX: #311D8E RGB: (49,29,142)

Color info

#311D8E contains mainly blue color. Web safe color of #311D8E is #333399 (or #339).

RGB color model

#311D8E color RGB value is (49,29,142).

RGB: (49,29,142) (19%, 11%, 56%)

RGB channels and saturation

R 49 of 255 = 19%
G 29 of 255 = 11%
B 142 of 255 = 56%

49
29
142

R + G + B ~ 29%. #311D8E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 29 + 142 = 220 (100%)
R 49 of 220 ~ 22.27%
G 29 of 220 ~ 13.18%
B 142 of 220 ~ 64.55'%

%22.27
%13.18
%64.55

CMYK color model

#311D8E color CMYK value is (65,80,0,44).

  • cyan value is 65.49%
  • magenta value is 79.58%
  • yellow value is 0.00%
  • key color value is 44.31%

CMYK: (65,80,0,44)
C65M80Y0K44 (65%, 80%, 0%, 44%)
(0.65 / 0.80 / 0.00 / 0.44)

CMYK percentages

%65.49
%79.58
%0
%44.31

Codes

Color #311D8E in popluar color models

31 1D 8E
RGB 49 29 142
HSL 251° 66.08% 33.53%
HSB/HSV 251° 79.58% 55.69%
CMYK 65.49% 79.58% 0.00%
44.31%

Color #311D8E in popluar number systems.

HEX 31 1D 8E
Decimal 49 29 142
Binary 110001 11101 10001110
Octal 61 35 216

Shades and tints

Shades of #311D8E

#311D8E
(49,29,142)
#2D1B82
(45,27,130)
#291976
(41,25,118)
#25176A
(37,23,106)
#21155E
(33,21,94)
#1D1352
(29,19,82)
#191146
(25,17,70)
#150F3A
(21,15,58)
#110D2E
(17,13,46)
#0D0B22
(13,11,34)
#090916
(9,9,22)
#000000
(0,0,0)

Tints of #311D8E

#311D8E
(49,29,142)
#433198
(67,49,152)
#5545A2
(85,69,162)
#6759AC
(103,89,172)
#796DB6
(121,109,182)
#8B81C0
(139,129,192)
#9D95CA
(157,149,202)
#AFA9D4
(175,169,212)
#C1BDDE
(193,189,222)
#D3D1E8
(211,209,232)
#E5E5F2
(229,229,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311D8E; }

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

This text font color is #311D8E.

Background Color

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

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

This div background color is #311D8E.

Border color

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

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

This div border color is #311D8E.

Opacity

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

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

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

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

This text has shadow with #311D8E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311D8E.

Preview

Color preview on black background

This text has color #311D8E on black background.


Color preview on white background

This text has color #311D8E on white background.


Black color preview on #311D8E background

This text has black color on #311D8E background.


White color preview on #311D8E background

This text has white color on #311D8E background.


Related colors

Complementary color

Complementary color for #hex is #CEE271.


I love getcolorcode.com

Triadic colors

1 #8E311D and #1D8E31 with #311D8E are triadic colors.

2 #8E1D31 and #1D318E with #311D8E are triadic colors.