COLOR #31457B

HEX: #31457B
RGB: (49,69,123)

Color info

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

RGB color model

#31457B color RGB value is (49,69,123).

  • red value is 49;
  • green value is 69;
  • blue value is 123.
RGB:
(49,69,123)
(19%,27%,48%)

RGB channels and saturation

R 49 of 255 = 19%
G 69 of 255 = 27%
B 123 of 255 = 48%

49
69
123

R + G + B ~ 31%. #31457B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 69 + 123 = 241 (100%)
R 49 of 241 ~ 20.33%
G 69 of 241 ~ 28.63%
B 123 of 241 ~ 51.04%

%20.33
%28.63
%51.04

CMYK color model

#31457B color CMYK value is (60,44,0,52).

  • cyan value is 60.16%
  • magenta value is 43.90%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(60,44,0,52)
C60M44Y0K52 
(60%,44%,0%,52%)
(0.60/0.44/0.00/0.52)	

CMYK percentages

%60.16
%43.9
%0
%51.76

Codes

Color #31457B in popluar color models

31457B
RGB4969123
HSL224°43.02%33.73%
HSB/HSV224°60.16%48.24%
CMYK60.16%43.90%0.00%
51.76%

Color #31457B in popluar number systems.

HEX31457B
Decimal4969123
Binary11000110001011111011
Octal61105173

Shades and tints

Shades of #31457B

#31457B
(49,69,123)
#2D3F70
(45,63,112)
#293965
(41,57,101)
#25335A
(37,51,90)
#212D4F
(33,45,79)
#1D2744
(29,39,68)
#192139
(25,33,57)
#151B2E
(21,27,46)
#111523
(17,21,35)
#0D0F18
(13,15,24)
#09090D
(9,9,13)
#000000
(0,0,0)

Tints of #31457B

#31457B
(49,69,123)
#435587
(67,85,135)
#556593
(85,101,147)
#67759F
(103,117,159)
#7985AB
(121,133,171)
#8B95B7
(139,149,183)
#9DA5C3
(157,165,195)
#AFB5CF
(175,181,207)
#C1C5DB
(193,197,219)
#D3D5E7
(211,213,231)
#E5E5F3
(229,229,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #31457B; }

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

This text font color is #31457B.


Background Color

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

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

This div background color is #31457B.


Border color

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

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

This div border color is #31457B.


Opacity

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

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

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

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

This text has shadow with #31457B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31457B on black background.


Color preview on white background

This text has color #31457B on white background.



Black color preview on #31457B background

This text has black color on #31457B background.


White color preview on #31457B background

This text has white color on #31457B background.