COLOR #311B54

HEX: #311B54 RGB: (49,27,84)

Color info

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

RGB color model

#311B54 color RGB value is (49,27,84).

RGB: (49,27,84) (19%, 11%, 33%)

RGB channels and saturation

R 49 of 255 = 19%
G 27 of 255 = 11%
B 84 of 255 = 33%

49
27
84

R + G + B ~ 21%. #311B54 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 27 + 84 = 160 (100%)
R 49 of 160 ~ 30.63%
G 27 of 160 ~ 16.88%
B 84 of 160 ~ 52.5'%

%30.63
%16.88
%52.5

CMYK color model

#311B54 color CMYK value is (42,68,0,67).

  • cyan value is 41.67%
  • magenta value is 67.86%
  • yellow value is 0.00%
  • key color value is 67.06%

CMYK: (42,68,0,67)
C42M68Y0K67 (42%, 68%, 0%, 67%)
(0.42 / 0.68 / 0.00 / 0.67)

CMYK percentages

%41.67
%67.86
%0
%67.06

Codes

Color #311B54 in popluar color models

31 1B 54
RGB 49 27 84
HSL 263° 51.35% 21.76%
HSB/HSV 263° 67.86% 32.94%
CMYK 41.67% 67.86% 0.00%
67.06%

Color #311B54 in popluar number systems.

HEX 31 1B 54
Decimal 49 27 84
Binary 110001 11011 1010100
Octal 61 33 124

Shades and tints

Shades of #311B54

#311B54
(49,27,84)
#2D194D
(45,25,77)
#291746
(41,23,70)
#25153F
(37,21,63)
#211338
(33,19,56)
#1D1131
(29,17,49)
#190F2A
(25,15,42)
#150D23
(21,13,35)
#110B1C
(17,11,28)
#0D0915
(13,9,21)
#09070E
(9,7,14)
#000000
(0,0,0)

Tints of #311B54

#311B54
(49,27,84)
#432F63
(67,47,99)
#554372
(85,67,114)
#675781
(103,87,129)
#796B90
(121,107,144)
#8B7F9F
(139,127,159)
#9D93AE
(157,147,174)
#AFA7BD
(175,167,189)
#C1BBCC
(193,187,204)
#D3CFDB
(211,207,219)
#E5E3EA
(229,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311B54; }

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

This text font color is #311B54.

Background Color

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

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

This div background color is #311B54.

Border color

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

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

This div border color is #311B54.

Opacity

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

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

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

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

This text has shadow with #311B54 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311B54.

Preview

Color preview on black background

This text has color #311B54 on black background.


Color preview on white background

This text has color #311B54 on white background.


Black color preview on #311B54 background

This text has black color on #311B54 background.


White color preview on #311B54 background

This text has white color on #311B54 background.


Related colors

Complementary color

Complementary color for #hex is #CEE4AB.


I love getcolorcode.com

Triadic colors

1 #54311B and #1B5431 with #311B54 are triadic colors.

2 #541B31 and #1B3154 with #311B54 are triadic colors.