COLOR #31389E

HEX: #31389E
RGB: (49,56,158)

Color info

#31389E contains mainly blue color. Web safe color of #31389E is #333399 (or #339).

RGB color model

#31389E color RGB value is (49,56,158).

  • red value is 49;
  • green value is 56;
  • blue value is 158.
RGB:
(49,56,158)
(19%,22%,62%)

RGB channels and saturation

R 49 of 255 = 19%
G 56 of 255 = 22%
B 158 of 255 = 62%

49
56
158

R + G + B ~ 34%. #31389E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 56 + 158 = 263 (100%)
R 49 of 263 ~ 18.63%
G 56 of 263 ~ 21.29%
B 158 of 263 ~ 60.08%

%18.63
%21.29
%60.08

CMYK color model

#31389E color CMYK value is (69,65,0,38).

  • cyan value is 68.99%
  • magenta value is 64.56%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(69,65,0,38)
C69M65Y0K38 
(69%,65%,0%,38%)
(0.69/0.65/0.00/0.38)	

CMYK percentages

%68.99
%64.56
%0
%38.04

Codes

Color #31389E in popluar color models

31389E
RGB4956158
HSL236°52.66%40.59%
HSB/HSV236°68.99%61.96%
CMYK68.99%64.56%0.00%
38.04%

Color #31389E in popluar number systems.

HEX31389E
Decimal4956158
Binary11000111100010011110
Octal6170236

Shades and tints

Shades of #31389E

#31389E
(49,56,158)
#2D3390
(45,51,144)
#292E82
(41,46,130)
#252974
(37,41,116)
#212466
(33,36,102)
#1D1F58
(29,31,88)
#191A4A
(25,26,74)
#15153C
(21,21,60)
#11102E
(17,16,46)
#0D0B20
(13,11,32)
#090612
(9,6,18)
#000000
(0,0,0)

Tints of #31389E

#31389E
(49,56,158)
#434AA6
(67,74,166)
#555CAE
(85,92,174)
#676EB6
(103,110,182)
#7980BE
(121,128,190)
#8B92C6
(139,146,198)
#9DA4CE
(157,164,206)
#AFB6D6
(175,182,214)
#C1C8DE
(193,200,222)
#D3DAE6
(211,218,230)
#E5ECEE
(229,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31389E color. Also use rgb(49,56,158) instead hex code.

Text Font Color

.myTextColor { color: #31389E; }

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

This text font color is #31389E.


Background Color

.myBgColor { background-color: #31389E; }

<div style="background-color:#31389E">Inner text</div>

This div background color is #31389E.


Border color

.myBorderColor { border: 1px solid #31389E; }

<div style="border:3px solid #31389E">Div</div>

This div border color is #31389E.


Opacity

.myOpacity80 { color: #31389E; opacity: 0.8; }

<p style="color:#31389E;opacity:0.8;">80%</p>

Text with #31389E 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 #31389E;}

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

This text has shadow with #31389E color.

.textShadow {text-shadow: 3px 3px 1px #31389E, 3px 3px 1px red;}

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

This text has shadow with #31389E primary color and red secondary color.


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

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

This text has shadow with #31389E and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31389E on black background.


Color preview on white background

This text has color #31389E on white background.



Black color preview on #31389E background

This text has black color on #31389E background.


White color preview on #31389E background

This text has white color on #31389E background.