COLOR #311E5B

HEX: #311E5B RGB: (49,30,91)

Color info

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

RGB color model

#311E5B color RGB value is (49,30,91).

RGB: (49,30,91) (19%, 12%, 36%)

RGB channels and saturation

R 49 of 255 = 19%
G 30 of 255 = 12%
B 91 of 255 = 36%

49
30
91

R + G + B ~ 22%. #311E5B is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 30 + 91 = 170 (100%)
R 49 of 170 ~ 28.82%
G 30 of 170 ~ 17.65%
B 91 of 170 ~ 53.53'%

%28.82
%17.65
%53.53

CMYK color model

#311E5B color CMYK value is (46,67,0,64).

  • cyan value is 46.15%
  • magenta value is 67.03%
  • yellow value is 0.00%
  • key color value is 64.31%

CMYK: (46,67,0,64)
C46M67Y0K64 (46%, 67%, 0%, 64%)
(0.46 / 0.67 / 0.00 / 0.64)

CMYK percentages

%46.15
%67.03
%0
%64.31

Codes

Color #311E5B in popluar color models

31 1E 5B
RGB 49 30 91
HSL 259° 50.41% 23.73%
HSB/HSV 259° 67.03% 35.69%
CMYK 46.15% 67.03% 0.00%
64.31%

Color #311E5B in popluar number systems.

HEX 31 1E 5B
Decimal 49 30 91
Binary 110001 11110 1011011
Octal 61 36 133

Shades and tints

Shades of #311E5B

#311E5B
(49,30,91)
#2D1C53
(45,28,83)
#291A4B
(41,26,75)
#251843
(37,24,67)
#21163B
(33,22,59)
#1D1433
(29,20,51)
#19122B
(25,18,43)
#151023
(21,16,35)
#110E1B
(17,14,27)
#0D0C13
(13,12,19)
#090A0B
(9,10,11)
#000000
(0,0,0)

Tints of #311E5B

#311E5B
(49,30,91)
#433269
(67,50,105)
#554677
(85,70,119)
#675A85
(103,90,133)
#796E93
(121,110,147)
#8B82A1
(139,130,161)
#9D96AF
(157,150,175)
#AFAABD
(175,170,189)
#C1BECB
(193,190,203)
#D3D2D9
(211,210,217)
#E5E6E7
(229,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311E5B color. Also use rgb(49,30,91) instead hex code.

Text Font Color

.myTextColor { color: #311E5B; }

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

This text font color is #311E5B.

Background Color

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

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

This div background color is #311E5B.

Border color

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

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

This div border color is #311E5B.

Opacity

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

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

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

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

This text has shadow with #311E5B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311E5B.

Preview

Color preview on black background

This text has color #311E5B on black background.


Color preview on white background

This text has color #311E5B on white background.


Black color preview on #311E5B background

This text has black color on #311E5B background.


White color preview on #311E5B background

This text has white color on #311E5B background.


Related colors

Complementary color

Complementary color for #hex is #CEE1A4.


I love getcolorcode.com

Triadic colors

1 #5B311E and #1E5B31 with #311E5B are triadic colors.

2 #5B1E31 and #1E315B with #311E5B are triadic colors.