COLOR #311B6F

HEX: #311B6F
RGB: (49,27,111)

Color info

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

RGB color model

#311B6F color RGB value is (49,27,111).

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

RGB channels and saturation

R 49 of 255 = 19%
G 27 of 255 = 11%
B 111 of 255 = 44%

49
27
111

R + G + B ~ 25%. #311B6F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 27 + 111 = 187 (100%)
R 49 of 187 ~ 26.2%
G 27 of 187 ~ 14.44%
B 111 of 187 ~ 59.36%

%26.2
%14.44
%59.36

CMYK color model

#311B6F color CMYK value is (56,76,0,56).

  • cyan value is 55.86%
  • magenta value is 75.68%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(56,76,0,56)
C56M76Y0K56 
(56%,76%,0%,56%)
(0.56/0.76/0.00/0.56)	

CMYK percentages

%55.86
%75.68
%0
%56.47

Codes

Color #311B6F in popluar color models

311B6F
RGB4927111
HSL256°60.87%27.06%
HSB/HSV256°75.68%43.53%
CMYK55.86%75.68%0.00%
56.47%

Color #311B6F in popluar number systems.

HEX311B6F
Decimal4927111
Binary110001110111101111
Octal6133157

Shades and tints

Shades of #311B6F

#311B6F
(49,27,111)
#2D1965
(45,25,101)
#29175B
(41,23,91)
#251551
(37,21,81)
#211347
(33,19,71)
#1D113D
(29,17,61)
#190F33
(25,15,51)
#150D29
(21,13,41)
#110B1F
(17,11,31)
#0D0915
(13,9,21)
#09070B
(9,7,11)
#000000
(0,0,0)

Tints of #311B6F

#311B6F
(49,27,111)
#432F7C
(67,47,124)
#554389
(85,67,137)
#675796
(103,87,150)
#796BA3
(121,107,163)
#8B7FB0
(139,127,176)
#9D93BD
(157,147,189)
#AFA7CA
(175,167,202)
#C1BBD7
(193,187,215)
#D3CFE4
(211,207,228)
#E5E3F1
(229,227,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311B6F; }

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

This text font color is #311B6F.


Background Color

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

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

This div background color is #311B6F.


Border color

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

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

This div border color is #311B6F.


Opacity

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

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

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

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

This text has shadow with #311B6F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #311B6F on black background.


Color preview on white background

This text has color #311B6F on white background.



Black color preview on #311B6F background

This text has black color on #311B6F background.


White color preview on #311B6F background

This text has white color on #311B6F background.