COLOR #31397D

HEX: #31397D RGB: (49,57,125)

Color info

#31397D contains mainly blue color. Web safe color of #31397D is #333366 (or #336).

RGB color model

#31397D color RGB value is (49,57,125).

RGB: (49,57,125) (19%, 22%, 49%)

RGB channels and saturation

R 49 of 255 = 19%
G 57 of 255 = 22%
B 125 of 255 = 49%

49
57
125

R + G + B ~ 30%. #31397D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 57 + 125 = 231 (100%)
R 49 of 231 ~ 21.21%
G 57 of 231 ~ 24.68%
B 125 of 231 ~ 54.11'%

%21.21
%24.68
%54.11

CMYK color model

#31397D color CMYK value is (61,54,0,51).

  • cyan value is 60.80%
  • magenta value is 54.40%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK: (61,54,0,51) C61M54Y0K51 (61%,54%,0%,51%) (0.61/0.54/0.00/0.51) 

CMYK percentages

%60.8
%54.4
%0
%50.98

Codes

Color #31397D in popluar color models

31 39 7D
RGB 49 57 125
HSL 234° 43.68% 34.12%
HSB/HSV 234° 60.80% 49.02%
CMYK 60.80% 54.40% 0.00%
50.98%

Color #31397D in popluar number systems.

HEX 31 39 7D
Decimal 49 57 125
Binary 110001 111001 1111101
Octal 61 71 175

Shades and tints

Shades of #31397D

#31397D
(49,57,125)
#2D3472
(45,52,114)
#292F67
(41,47,103)
#252A5C
(37,42,92)
#212551
(33,37,81)
#1D2046
(29,32,70)
#191B3B
(25,27,59)
#151630
(21,22,48)
#111125
(17,17,37)
#0D0C1A
(13,12,26)
#09070F
(9,7,15)
#000000
(0,0,0)

Tints of #31397D

#31397D
(49,57,125)
#434B88
(67,75,136)
#555D93
(85,93,147)
#676F9E
(103,111,158)
#7981A9
(121,129,169)
#8B93B4
(139,147,180)
#9DA5BF
(157,165,191)
#AFB7CA
(175,183,202)
#C1C9D5
(193,201,213)
#D3DBE0
(211,219,224)
#E5EDEB
(229,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31397D color. Also use rgb(49,57,125) instead hex code.

Text Font Color

.myTextColor { color: #31397D; }

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

This text font color is #31397D.

Background Color

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

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

This div background color is #31397D.

Border color

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

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

This div border color is #31397D.

Opacity

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

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

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

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

This text has shadow with #31397D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #31397D.

Preview

Color preview on black background

This text has color #31397D on black background.


Color preview on white background

This text has color #31397D on white background.


Black color preview on #31397D background

This text has black color on #31397D background.


White color preview on #31397D background

This text has white color on #31397D background.


Related colors

Complementary color

Complementary color for #hex is #CEC682.


I love getcolorcode.com

Triadic colors

1 #7D3139 and #397D31 with #31397D are triadic colors.

2 #7D3931 and #39317D with #31397D are triadic colors.