COLOR #313A78

HEX: #313A78
RGB: (49,58,120)

Color info

#313A78 contains mainly blue color. Web safe color of #313A78 is #333366 (or #336).

RGB color model

#313A78 color RGB value is (49,58,120).

  • red value is 49;
  • green value is 58;
  • blue value is 120.
RGB:
(49,58,120)
(19%,23%,47%)

RGB channels and saturation

R 49 of 255 = 19%
G 58 of 255 = 23%
B 120 of 255 = 47%

49
58
120

R + G + B ~ 30%. #313A78 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 58 + 120 = 227 (100%)
R 49 of 227 ~ 21.59%
G 58 of 227 ~ 25.55%
B 120 of 227 ~ 52.86%

%21.59
%25.55
%52.86

CMYK color model

#313A78 color CMYK value is (59,52,0,53).

  • cyan value is 59.17%
  • magenta value is 51.67%
  • yellow value is 0.00%
  • key color value is 52.94%
CMYK:
(59,52,0,53)
C59M52Y0K53 
(59%,52%,0%,53%)
(0.59/0.52/0.00/0.53)	

CMYK percentages

%59.17
%51.67
%0
%52.94

Codes

Color #313A78 in popluar color models

313A78
RGB4958120
HSL232°42.01%33.14%
HSB/HSV232°59.17%47.06%
CMYK59.17%51.67%0.00%
52.94%

Color #313A78 in popluar number systems.

HEX313A78
Decimal4958120
Binary1100011110101111000
Octal6172170

Shades and tints

Shades of #313A78

#313A78
(49,58,120)
#2D356E
(45,53,110)
#293064
(41,48,100)
#252B5A
(37,43,90)
#212650
(33,38,80)
#1D2146
(29,33,70)
#191C3C
(25,28,60)
#151732
(21,23,50)
#111228
(17,18,40)
#0D0D1E
(13,13,30)
#090814
(9,8,20)
#000000
(0,0,0)

Tints of #313A78

#313A78
(49,58,120)
#434B84
(67,75,132)
#555C90
(85,92,144)
#676D9C
(103,109,156)
#797EA8
(121,126,168)
#8B8FB4
(139,143,180)
#9DA0C0
(157,160,192)
#AFB1CC
(175,177,204)
#C1C2D8
(193,194,216)
#D3D3E4
(211,211,228)
#E5E4F0
(229,228,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #313A78 color. Also use rgb(49,58,120) instead hex code.

Text Font Color

.myTextColor { color: #313A78; }

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

This text font color is #313A78.


Background Color

.myBgColor { background-color: #313A78; }

<div style="background-color:#313A78">Inner text</div>

This div background color is #313A78.


Border color

.myBorderColor { border: 1px solid #313A78; }

<div style="border:3px solid #313A78">Div</div>

This div border color is #313A78.


Opacity

.myOpacity80 { color: #313A78; opacity: 0.8; }

<p style="color:#313A78;opacity:0.8;">80%</p>

Text with #313A78 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 #313A78;}

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

This text has shadow with #313A78 color.

.textShadow {text-shadow: 3px 3px 1px #313A78, 3px 3px 1px red;}

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

This text has shadow with #313A78 primary color and red secondary color.


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

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

This text has shadow with #313A78 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #313A78 on black background.


Color preview on white background

This text has color #313A78 on white background.



Black color preview on #313A78 background

This text has black color on #313A78 background.


White color preview on #313A78 background

This text has white color on #313A78 background.