COLOR #304C8D

HEX: #304C8D
RGB: (48,76,141)

Color info

#304C8D contains mainly blue color. Web safe color of #304C8D is #333399 (or #339).

RGB color model

#304C8D color RGB value is (48,76,141).

  • red value is 48;
  • green value is 76;
  • blue value is 141.
RGB:
(48,76,141)
(19%,30%,55%)

RGB channels and saturation

R 48 of 255 = 19%
G 76 of 255 = 30%
B 141 of 255 = 55%

48
76
141

R + G + B ~ 35%. #304C8D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 76 + 141 = 265 (100%)
R 48 of 265 ~ 18.11%
G 76 of 265 ~ 28.68%
B 141 of 265 ~ 53.21%

%18.11
%28.68
%53.21

CMYK color model

#304C8D color CMYK value is (66,46,0,45).

  • cyan value is 65.96%
  • magenta value is 46.10%
  • yellow value is 0.00%
  • key color value is 44.71%
CMYK:
(66,46,0,45)
C66M46Y0K45 
(66%,46%,0%,45%)
(0.66/0.46/0.00/0.45)	

CMYK percentages

%65.96
%46.1
%0
%44.71

Codes

Color #304C8D in popluar color models

304C8D
RGB4876141
HSL222°49.21%37.06%
HSB/HSV222°65.96%55.29%
CMYK65.96%46.10%0.00%
44.71%

Color #304C8D in popluar number systems.

HEX304C8D
Decimal4876141
Binary110000100110010001101
Octal60114215

Shades and tints

Shades of #304C8D

#304C8D
(48,76,141)
#2C4681
(44,70,129)
#284075
(40,64,117)
#243A69
(36,58,105)
#20345D
(32,52,93)
#1C2E51
(28,46,81)
#182845
(24,40,69)
#142239
(20,34,57)
#101C2D
(16,28,45)
#0C1621
(12,22,33)
#081015
(8,16,21)
#000000
(0,0,0)

Tints of #304C8D

#304C8D
(48,76,141)
#425C97
(66,92,151)
#546CA1
(84,108,161)
#667CAB
(102,124,171)
#788CB5
(120,140,181)
#8A9CBF
(138,156,191)
#9CACC9
(156,172,201)
#AEBCD3
(174,188,211)
#C0CCDD
(192,204,221)
#D2DCE7
(210,220,231)
#E4ECF1
(228,236,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304C8D color. Also use rgb(48,76,141) instead hex code.

Text Font Color

.myTextColor { color: #304C8D; }

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

This text font color is #304C8D.


Background Color

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

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

This div background color is #304C8D.


Border color

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

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

This div border color is #304C8D.


Opacity

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

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

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

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

This text has shadow with #304C8D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304C8D on black background.


Color preview on white background

This text has color #304C8D on white background.



Black color preview on #304C8D background

This text has black color on #304C8D background.


White color preview on #304C8D background

This text has white color on #304C8D background.