COLOR #31398E

HEX: #31398E
RGB: (49,57,142)

Color info

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

RGB color model

#31398E color RGB value is (49,57,142).

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

RGB channels and saturation

R 49 of 255 = 19%
G 57 of 255 = 22%
B 142 of 255 = 56%

49
57
142

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

Portions of RGB colors in percentages

R + G + B =
49 + 57 + 142 = 248 (100%)
R 49 of 248 ~ 19.76%
G 57 of 248 ~ 22.98%
B 142 of 248 ~ 57.26%

%19.76
%22.98
%57.26

CMYK color model

#31398E color CMYK value is (65,60,0,44).

  • cyan value is 65.49%
  • magenta value is 59.86%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(65,60,0,44)
C65M60Y0K44 
(65%,60%,0%,44%)
(0.65/0.60/0.00/0.44)	

CMYK percentages

%65.49
%59.86
%0
%44.31

Codes

Color #31398E in popluar color models

31398E
RGB4957142
HSL235°48.69%37.45%
HSB/HSV235°65.49%55.69%
CMYK65.49%59.86%0.00%
44.31%

Color #31398E in popluar number systems.

HEX31398E
Decimal4957142
Binary11000111100110001110
Octal6171216

Shades and tints

Shades of #31398E

#31398E
(49,57,142)
#2D3482
(45,52,130)
#292F76
(41,47,118)
#252A6A
(37,42,106)
#21255E
(33,37,94)
#1D2052
(29,32,82)
#191B46
(25,27,70)
#15163A
(21,22,58)
#11112E
(17,17,46)
#0D0C22
(13,12,34)
#090716
(9,7,22)
#000000
(0,0,0)

Tints of #31398E

#31398E
(49,57,142)
#434B98
(67,75,152)
#555DA2
(85,93,162)
#676FAC
(103,111,172)
#7981B6
(121,129,182)
#8B93C0
(139,147,192)
#9DA5CA
(157,165,202)
#AFB7D4
(175,183,212)
#C1C9DE
(193,201,222)
#D3DBE8
(211,219,232)
#E5EDF2
(229,237,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31398E color. Also use rgb(49,57,142) instead hex code.

Text Font Color

.myTextColor { color: #31398E; }

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

This text font color is #31398E.


Background Color

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

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

This div background color is #31398E.


Border color

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

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

This div border color is #31398E.


Opacity

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

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

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

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

This text has shadow with #31398E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31398E on black background.


Color preview on white background

This text has color #31398E on white background.



Black color preview on #31398E background

This text has black color on #31398E background.


White color preview on #31398E background

This text has white color on #31398E background.