COLOR #311F4B

HEX: #311F4B RGB: (49,31,75)

Color info

#311F4B contains red, green and blue colors in about the same proportion. Web safe color of #311F4B is #333333 (or #333).

RGB color model

#311F4B color RGB value is (49,31,75).

RGB: (49,31,75) (19%, 12%, 29%)

RGB channels and saturation

R 49 of 255 = 19%
G 31 of 255 = 12%
B 75 of 255 = 29%

49
31
75

R + G + B ~ 20%. #311F4B is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 31 + 75 = 155 (100%)
R 49 of 155 ~ 31.61%
G 31 of 155 ~ 20%
B 75 of 155 ~ 48.39'%

%31.61
%20
%48.39

CMYK color model

#311F4B color CMYK value is (35,59,0,71).

  • cyan value is 34.67%
  • magenta value is 58.67%
  • yellow value is 0.00%
  • key color value is 70.59%

CMYK: (35,59,0,71)
C35M59Y0K71 (35%, 59%, 0%, 71%)
(0.35 / 0.59 / 0.00 / 0.71)

CMYK percentages

%34.67
%58.67
%0
%70.59

Codes

Color #311F4B in popluar color models

31 1F 4B
RGB 49 31 75
HSL 265° 41.51% 20.78%
HSB/HSV 265° 58.67% 29.41%
CMYK 34.67% 58.67% 0.00%
70.59%

Color #311F4B in popluar number systems.

HEX 31 1F 4B
Decimal 49 31 75
Binary 110001 11111 1001011
Octal 61 37 113

Shades and tints

Shades of #311F4B

#311F4B
(49,31,75)
#2D1D45
(45,29,69)
#291B3F
(41,27,63)
#251939
(37,25,57)
#211733
(33,23,51)
#1D152D
(29,21,45)
#191327
(25,19,39)
#151121
(21,17,33)
#110F1B
(17,15,27)
#0D0D15
(13,13,21)
#090B0F
(9,11,15)
#000000
(0,0,0)

Tints of #311F4B

#311F4B
(49,31,75)
#43335B
(67,51,91)
#55476B
(85,71,107)
#675B7B
(103,91,123)
#796F8B
(121,111,139)
#8B839B
(139,131,155)
#9D97AB
(157,151,171)
#AFABBB
(175,171,187)
#C1BFCB
(193,191,203)
#D3D3DB
(211,211,219)
#E5E7EB
(229,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311F4B color. Also use rgb(49,31,75) instead hex code.

Text Font Color

.myTextColor { color: #311F4B; }

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

This text font color is #311F4B.

Background Color

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

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

This div background color is #311F4B.

Border color

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

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

This div border color is #311F4B.

Opacity

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

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

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

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

This text has shadow with #311F4B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311F4B.

Preview

Color preview on black background

This text has color #311F4B on black background.


Color preview on white background

This text has color #311F4B on white background.


Black color preview on #311F4B background

This text has black color on #311F4B background.


White color preview on #311F4B background

This text has white color on #311F4B background.


Related colors

Complementary color

Complementary color for #hex is #CEE0B4.


I love getcolorcode.com

Triadic colors

1 #4B311F and #1F4B31 with #311F4B are triadic colors.

2 #4B1F31 and #1F314B with #311F4B are triadic colors.