COLOR #311E59

HEX: #311E59
RGB: (49,30,89)

Color info

#311E59 contains red, green and blue colors in about the same proportion. Web safe color of #311E59 is #333366 (or #336).

RGB color model

#311E59 color RGB value is (49,30,89).

  • red value is 49;
  • green value is 30;
  • blue value is 89.
RGB:
(49,30,89)
(19%,12%,35%)

RGB channels and saturation

R 49 of 255 = 19%
G 30 of 255 = 12%
B 89 of 255 = 35%

49
30
89

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

Portions of RGB colors in percentages

R + G + B =
49 + 30 + 89 = 168 (100%)
R 49 of 168 ~ 29.17%
G 30 of 168 ~ 17.86%
B 89 of 168 ~ 52.98%

%29.17
%17.86
%52.98

CMYK color model

#311E59 color CMYK value is (45,66,0,65).

  • cyan value is 44.94%
  • magenta value is 66.29%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(45,66,0,65)
C45M66Y0K65 
(45%,66%,0%,65%)
(0.45/0.66/0.00/0.65)	

CMYK percentages

%44.94
%66.29
%0
%65.1

Codes

Color #311E59 in popluar color models

311E59
RGB493089
HSL259°49.58%23.33%
HSB/HSV259°66.29%34.90%
CMYK44.94%66.29%0.00%
65.10%

Color #311E59 in popluar number systems.

HEX311E59
Decimal493089
Binary110001111101011001
Octal6136131

Shades and tints

Shades of #311E59

#311E59
(49,30,89)
#2D1C51
(45,28,81)
#291A49
(41,26,73)
#251841
(37,24,65)
#211639
(33,22,57)
#1D1431
(29,20,49)
#191229
(25,18,41)
#151021
(21,16,33)
#110E19
(17,14,25)
#0D0C11
(13,12,17)
#090A09
(9,10,9)
#000000
(0,0,0)

Tints of #311E59

#311E59
(49,30,89)
#433268
(67,50,104)
#554677
(85,70,119)
#675A86
(103,90,134)
#796E95
(121,110,149)
#8B82A4
(139,130,164)
#9D96B3
(157,150,179)
#AFAAC2
(175,170,194)
#C1BED1
(193,190,209)
#D3D2E0
(211,210,224)
#E5E6EF
(229,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311E59; }

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

This text font color is #311E59.


Background Color

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

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

This div background color is #311E59.


Border color

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

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

This div border color is #311E59.


Opacity

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

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

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

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

This text has shadow with #311E59 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311E59 on black background.


Color preview on white background

This text has color #311E59 on white background.



Black color preview on #311E59 background

This text has black color on #311E59 background.


White color preview on #311E59 background

This text has white color on #311E59 background.