COLOR #31548B

HEX: #31548B RGB: (49,84,139)

Color info

#31548B contains mainly green and blue colors. Web safe color of #31548B is #336699 (or #369).

RGB color model

#31548B color RGB value is (49,84,139).

RGB: (49,84,139) (19%, 33%, 55%)

RGB channels and saturation

R 49 of 255 = 19%
G 84 of 255 = 33%
B 139 of 255 = 55%

49
84
139

R + G + B ~ 36%. #31548B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 84 + 139 = 272 (100%)
R 49 of 272 ~ 18.01%
G 84 of 272 ~ 30.88%
B 139 of 272 ~ 51.1'%

%18.01
%30.88
%51.1

CMYK color model

#31548B color CMYK value is (65,40,0,45).

  • cyan value is 64.75%
  • magenta value is 39.57%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (65,40,0,45)
C65M40Y0K45 (65%, 40%, 0%, 45%)
(0.65 / 0.40 / 0.00 / 0.45)

CMYK percentages

%64.75
%39.57
%0
%45.49

Codes

Color #31548B in popluar color models

31 54 8B
RGB 49 84 139
HSL 217° 47.87% 36.86%
HSB/HSV 217° 64.75% 54.51%
CMYK 64.75% 39.57% 0.00%
45.49%

Color #31548B in popluar number systems.

HEX 31 54 8B
Decimal 49 84 139
Binary 110001 1010100 10001011
Octal 61 124 213

Shades and tints

Shades of #31548B

#31548B
(49,84,139)
#2D4D7F
(45,77,127)
#294673
(41,70,115)
#253F67
(37,63,103)
#21385B
(33,56,91)
#1D314F
(29,49,79)
#192A43
(25,42,67)
#152337
(21,35,55)
#111C2B
(17,28,43)
#0D151F
(13,21,31)
#090E13
(9,14,19)
#000000
(0,0,0)

Tints of #31548B

#31548B
(49,84,139)
#436395
(67,99,149)
#55729F
(85,114,159)
#6781A9
(103,129,169)
#7990B3
(121,144,179)
#8B9FBD
(139,159,189)
#9DAEC7
(157,174,199)
#AFBDD1
(175,189,209)
#C1CCDB
(193,204,219)
#D3DBE5
(211,219,229)
#E5EAEF
(229,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31548B color. Also use rgb(49,84,139) instead hex code.

Text Font Color

.myTextColor { color: #31548B; }

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

This text font color is #31548B.

Background Color

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

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

This div background color is #31548B.

Border color

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

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

This div border color is #31548B.

Opacity

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

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

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

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

This text has shadow with #31548B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #31548B.

Preview

Color preview on black background

This text has color #31548B on black background.


Color preview on white background

This text has color #31548B on white background.


Black color preview on #31548B background

This text has black color on #31548B background.


White color preview on #31548B background

This text has white color on #31548B background.


Related colors

Complementary color

Complementary color for #hex is #CEAB74.


I love getcolorcode.com

Triadic colors

1 #8B3154 and #548B31 with #31548B are triadic colors.

2 #8B5431 and #54318B with #31548B are triadic colors.