COLOR #31304D

HEX: #31304D RGB: (49,48,77)

Color info

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

RGB color model

#31304D color RGB value is (49,48,77).

RGB: (49,48,77) (19%, 19%, 30%)

RGB channels and saturation

R 49 of 255 = 19%
G 48 of 255 = 19%
B 77 of 255 = 30%

49
48
77

R + G + B ~ 23%. #31304D is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 48 + 77 = 174 (100%)
R 49 of 174 ~ 28.16%
G 48 of 174 ~ 27.59%
B 77 of 174 ~ 44.25'%

%28.16
%27.59
%44.25

CMYK color model

#31304D color CMYK value is (36,38,0,70).

  • cyan value is 36.36%
  • magenta value is 37.66%
  • yellow value is 0.00%
  • key color value is 69.80%

CMYK: (36,38,0,70)
C36M38Y0K70 (36%, 38%, 0%, 70%)
(0.36 / 0.38 / 0.00 / 0.70)

CMYK percentages

%36.36
%37.66
%0
%69.8

Codes

Color #31304D in popluar color models

31 30 4D
RGB 49 48 77
HSL 242° 23.20% 24.51%
HSB/HSV 242° 37.66% 30.20%
CMYK 36.36% 37.66% 0.00%
69.80%

Color #31304D in popluar number systems.

HEX 31 30 4D
Decimal 49 48 77
Binary 110001 110000 1001101
Octal 61 60 115

Shades and tints

Shades of #31304D

#31304D
(49,48,77)
#2D2C46
(45,44,70)
#29283F
(41,40,63)
#252438
(37,36,56)
#212031
(33,32,49)
#1D1C2A
(29,28,42)
#191823
(25,24,35)
#15141C
(21,20,28)
#111015
(17,16,21)
#0D0C0E
(13,12,14)
#090807
(9,8,7)
#000000
(0,0,0)

Tints of #31304D

#31304D
(49,48,77)
#43425D
(67,66,93)
#55546D
(85,84,109)
#67667D
(103,102,125)
#79788D
(121,120,141)
#8B8A9D
(139,138,157)
#9D9CAD
(157,156,173)
#AFAEBD
(175,174,189)
#C1C0CD
(193,192,205)
#D3D2DD
(211,210,221)
#E5E4ED
(229,228,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31304D color. Also use rgb(49,48,77) instead hex code.

Text Font Color

.myTextColor { color: #31304D; }

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

This text font color is #31304D.

Background Color

.myBgColor { background-color: #31304D; }

<div style="background-color:#31304D">Inner text</div>

This div background color is #31304D.

Border color

.myBorderColor { border: 1px solid #31304D; }

<div style="border:3px solid #31304D">Div</div>

This div border color is #31304D.

Opacity

.myOpacity80 { color: #31304D; opacity: 0.8; }

<p style="color:#31304D;opacity:0.8;">80%</p>

Text with #31304D 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 #31304D;}

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

This text has shadow with #31304D color.


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

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

This text has shadow with #31304D primary color and red secondary color.


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

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

This text has shadow with #31304D and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #31304D.

Preview

Color preview on black background

This text has color #31304D on black background.


Color preview on white background

This text has color #31304D on white background.


Black color preview on #31304D background

This text has black color on #31304D background.


White color preview on #31304D background

This text has white color on #31304D background.


Related colors

Complementary color

Complementary color for #hex is #CECFB2.


I love getcolorcode.com

Triadic colors

1 #4D3130 and #304D31 with #31304D are triadic colors.

2 #4D3031 and #30314D with #31304D are triadic colors.