COLOR #311B58

HEX: #311B58
RGB: (49,27,88)

Color info

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

RGB color model

#311B58 color RGB value is (49,27,88).

  • red value is 49;
  • green value is 27;
  • blue value is 88.
RGB:
(49,27,88)
(19%,11%,35%)

RGB channels and saturation

R 49 of 255 = 19%
G 27 of 255 = 11%
B 88 of 255 = 35%

49
27
88

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

Portions of RGB colors in percentages

R + G + B =
49 + 27 + 88 = 164 (100%)
R 49 of 164 ~ 29.88%
G 27 of 164 ~ 16.46%
B 88 of 164 ~ 53.66%

%29.88
%16.46
%53.66

CMYK color model

#311B58 color CMYK value is (44,69,0,65).

  • cyan value is 44.32%
  • magenta value is 69.32%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(44,69,0,65)
C44M69Y0K65 
(44%,69%,0%,65%)
(0.44/0.69/0.00/0.65)	

CMYK percentages

%44.32
%69.32
%0
%65.49

Codes

Color #311B58 in popluar color models

311B58
RGB492788
HSL262°53.04%22.55%
HSB/HSV262°69.32%34.51%
CMYK44.32%69.32%0.00%
65.49%

Color #311B58 in popluar number systems.

HEX311B58
Decimal492788
Binary110001110111011000
Octal6133130

Shades and tints

Shades of #311B58

#311B58
(49,27,88)
#2D1950
(45,25,80)
#291748
(41,23,72)
#251540
(37,21,64)
#211338
(33,19,56)
#1D1130
(29,17,48)
#190F28
(25,15,40)
#150D20
(21,13,32)
#110B18
(17,11,24)
#0D0910
(13,9,16)
#090708
(9,7,8)
#000000
(0,0,0)

Tints of #311B58

#311B58
(49,27,88)
#432F67
(67,47,103)
#554376
(85,67,118)
#675785
(103,87,133)
#796B94
(121,107,148)
#8B7FA3
(139,127,163)
#9D93B2
(157,147,178)
#AFA7C1
(175,167,193)
#C1BBD0
(193,187,208)
#D3CFDF
(211,207,223)
#E5E3EE
(229,227,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311B58 color. Also use rgb(49,27,88) instead hex code.

Text Font Color

.myTextColor { color: #311B58; }

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

This text font color is #311B58.


Background Color

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

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

This div background color is #311B58.


Border color

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

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

This div border color is #311B58.


Opacity

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

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

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

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

This text has shadow with #311B58 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311B58 on black background.


Color preview on white background

This text has color #311B58 on white background.



Black color preview on #311B58 background

This text has black color on #311B58 background.


White color preview on #311B58 background

This text has white color on #311B58 background.