COLOR #31497B

HEX: #31497B RGB: (49,73,123)

Color info

#31497B contains mainly green and blue colors. Web safe color of #31497B is #333366 (or #336).

RGB color model

#31497B color RGB value is (49,73,123).

RGB: (49,73,123) (19%, 29%, 48%)

RGB channels and saturation

R 49 of 255 = 19%
G 73 of 255 = 29%
B 123 of 255 = 48%

49
73
123

R + G + B ~ 32%. #31497B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 73 + 123 = 245 (100%)
R 49 of 245 ~ 20%
G 73 of 245 ~ 29.8%
B 123 of 245 ~ 50.2'%

%20
%29.8
%50.2

CMYK color model

#31497B color CMYK value is (60,41,0,52).

  • cyan value is 60.16%
  • magenta value is 40.65%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (60,41,0,52)
C60M41Y0K52 (60%, 41%, 0%, 52%)
(0.60 / 0.41 / 0.00 / 0.52)

CMYK percentages

%60.16
%40.65
%0
%51.76

Codes

Color #31497B in popluar color models

31 49 7B
RGB 49 73 123
HSL 221° 43.02% 33.73%
HSB/HSV 221° 60.16% 48.24%
CMYK 60.16% 40.65% 0.00%
51.76%

Color #31497B in popluar number systems.

HEX 31 49 7B
Decimal 49 73 123
Binary 110001 1001001 1111011
Octal 61 111 173

Shades and tints

Shades of #31497B

#31497B
(49,73,123)
#2D4370
(45,67,112)
#293D65
(41,61,101)
#25375A
(37,55,90)
#21314F
(33,49,79)
#1D2B44
(29,43,68)
#192539
(25,37,57)
#151F2E
(21,31,46)
#111923
(17,25,35)
#0D1318
(13,19,24)
#090D0D
(9,13,13)
#000000
(0,0,0)

Tints of #31497B

#31497B
(49,73,123)
#435987
(67,89,135)
#556993
(85,105,147)
#67799F
(103,121,159)
#7989AB
(121,137,171)
#8B99B7
(139,153,183)
#9DA9C3
(157,169,195)
#AFB9CF
(175,185,207)
#C1C9DB
(193,201,219)
#D3D9E7
(211,217,231)
#E5E9F3
(229,233,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31497B color. Also use rgb(49,73,123) instead hex code.

Text Font Color

.myTextColor { color: #31497B; }

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

This text font color is #31497B.

Background Color

.myBgColor { background-color: #31497B; }

<div style="background-color:#31497B">Inner text</div>

This div background color is #31497B.

Border color

.myBorderColor { border: 1px solid #31497B; }

<div style="border:3px solid #31497B">Div</div>

This div border color is #31497B.

Opacity

.myOpacity80 { color: #31497B; opacity: 0.8; }

<p style="color:#31497B;opacity:0.8;">80%</p>

Text with #31497B 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 #31497B;}

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

This text has shadow with #31497B color.


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

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

This text has shadow with #31497B primary color and red secondary color.


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

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

This text has shadow with #31497B and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #31497B.

Preview

Color preview on black background

This text has color #31497B on black background.


Color preview on white background

This text has color #31497B on white background.


Black color preview on #31497B background

This text has black color on #31497B background.


White color preview on #31497B background

This text has white color on #31497B background.


Related colors

Complementary color

Complementary color for #hex is #CEB684.


I love getcolorcode.com

Triadic colors

1 #7B3149 and #497B31 with #31497B are triadic colors.

2 #7B4931 and #49317B with #31497B are triadic colors.