COLOR #304EA3

HEX: #304EA3
RGB: (48,78,163)

Color info

#304EA3 contains mainly blue color. Web safe color of #304EA3 is #336699 (or #369).

RGB color model

#304EA3 color RGB value is (48,78,163).

  • red value is 48;
  • green value is 78;
  • blue value is 163.
RGB:
(48,78,163)
(19%,31%,64%)

RGB channels and saturation

R 48 of 255 = 19%
G 78 of 255 = 31%
B 163 of 255 = 64%

48
78
163

R + G + B ~ 38%. #304EA3 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 78 + 163 = 289 (100%)
R 48 of 289 ~ 16.61%
G 78 of 289 ~ 26.99%
B 163 of 289 ~ 56.4%

%16.61
%26.99
%56.4

CMYK color model

#304EA3 color CMYK value is (71,52,0,36).

  • cyan value is 70.55%
  • magenta value is 52.15%
  • yellow value is 0.00%
  • key color value is 36.08%
CMYK:
(71,52,0,36)
C71M52Y0K36 
(71%,52%,0%,36%)
(0.71/0.52/0.00/0.36)	

CMYK percentages

%70.55
%52.15
%0
%36.08

Codes

Color #304EA3 in popluar color models

304EA3
RGB4878163
HSL224°54.50%41.37%
HSB/HSV224°70.55%63.92%
CMYK70.55%52.15%0.00%
36.08%

Color #304EA3 in popluar number systems.

HEX304EA3
Decimal4878163
Binary110000100111010100011
Octal60116243

Shades and tints

Shades of #304EA3

#304EA3
(48,78,163)
#2C4795
(44,71,149)
#284087
(40,64,135)
#243979
(36,57,121)
#20326B
(32,50,107)
#1C2B5D
(28,43,93)
#18244F
(24,36,79)
#141D41
(20,29,65)
#101633
(16,22,51)
#0C0F25
(12,15,37)
#080817
(8,8,23)
#000000
(0,0,0)

Tints of #304EA3

#304EA3
(48,78,163)
#425EAB
(66,94,171)
#546EB3
(84,110,179)
#667EBB
(102,126,187)
#788EC3
(120,142,195)
#8A9ECB
(138,158,203)
#9CAED3
(156,174,211)
#AEBEDB
(174,190,219)
#C0CEE3
(192,206,227)
#D2DEEB
(210,222,235)
#E4EEF3
(228,238,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304EA3 color. Also use rgb(48,78,163) instead hex code.

Text Font Color

.myTextColor { color: #304EA3; }

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

This text font color is #304EA3.


Background Color

.myBgColor { background-color: #304EA3; }

<div style="background-color:#304EA3">Inner text</div>

This div background color is #304EA3.


Border color

.myBorderColor { border: 1px solid #304EA3; }

<div style="border:3px solid #304EA3">Div</div>

This div border color is #304EA3.


Opacity

.myOpacity80 { color: #304EA3; opacity: 0.8; }

<p style="color:#304EA3;opacity:0.8;">80%</p>

Text with #304EA3 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 #304EA3;}

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

This text has shadow with #304EA3 color.

.textShadow {text-shadow: 3px 3px 1px #304EA3, 3px 3px 1px red;}

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

This text has shadow with #304EA3 primary color and red secondary color.


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

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

This text has shadow with #304EA3 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304EA3 on black background.


Color preview on white background

This text has color #304EA3 on white background.



Black color preview on #304EA3 background

This text has black color on #304EA3 background.


White color preview on #304EA3 background

This text has white color on #304EA3 background.