COLOR #304A5B

HEX: #304A5B
RGB: (48,74,91)

Color info

#304A5B contains red, green and blue colors in about the same proportion. Web safe color of #304A5B is #333366 (or #336).

RGB color model

#304A5B color RGB value is (48,74,91).

  • red value is 48;
  • green value is 74;
  • blue value is 91.
RGB:
(48,74,91)
(19%,29%,36%)

RGB channels and saturation

R 48 of 255 = 19%
G 74 of 255 = 29%
B 91 of 255 = 36%

48
74
91

R + G + B ~ 28%. #304A5B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 74 + 91 = 213 (100%)
R 48 of 213 ~ 22.54%
G 74 of 213 ~ 34.74%
B 91 of 213 ~ 42.72%

%22.54
%34.74
%42.72

CMYK color model

#304A5B color CMYK value is (47,19,0,64).

  • cyan value is 47.25%
  • magenta value is 18.68%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(47,19,0,64)
C47M19Y0K64 
(47%,19%,0%,64%)
(0.47/0.19/0.00/0.64)	

CMYK percentages

%47.25
%18.68
%0
%64.31

Codes

Color #304A5B in popluar color models

304A5B
RGB487491
HSL204°30.94%27.25%
HSB/HSV204°47.25%35.69%
CMYK47.25%18.68%0.00%
64.31%

Color #304A5B in popluar number systems.

HEX304A5B
Decimal487491
Binary11000010010101011011
Octal60112133

Shades and tints

Shades of #304A5B

#304A5B
(48,74,91)
#2C4453
(44,68,83)
#283E4B
(40,62,75)
#243843
(36,56,67)
#20323B
(32,50,59)
#1C2C33
(28,44,51)
#18262B
(24,38,43)
#142023
(20,32,35)
#101A1B
(16,26,27)
#0C1413
(12,20,19)
#080E0B
(8,14,11)
#000000
(0,0,0)

Tints of #304A5B

#304A5B
(48,74,91)
#425A69
(66,90,105)
#546A77
(84,106,119)
#667A85
(102,122,133)
#788A93
(120,138,147)
#8A9AA1
(138,154,161)
#9CAAAF
(156,170,175)
#AEBABD
(174,186,189)
#C0CACB
(192,202,203)
#D2DAD9
(210,218,217)
#E4EAE7
(228,234,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304A5B color. Also use rgb(48,74,91) instead hex code.

Text Font Color

.myTextColor { color: #304A5B; }

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

This text font color is #304A5B.


Background Color

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

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

This div background color is #304A5B.


Border color

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

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

This div border color is #304A5B.


Opacity

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

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

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

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

This text has shadow with #304A5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304A5B on black background.


Color preview on white background

This text has color #304A5B on white background.



Black color preview on #304A5B background

This text has black color on #304A5B background.


White color preview on #304A5B background

This text has white color on #304A5B background.