COLOR #304870

HEX: #304870 RGB: (48,72,112)

Color info

#304870 contains mainly green and blue colors. Web safe color of #304870 is #333366 (or #336).

RGB color model

#304870 color RGB value is (48,72,112).

RGB: (48,72,112) (19%, 28%, 44%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 112 of 255 = 44%

48
72
112

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

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 112 = 232 (100%)
R 48 of 232 ~ 20.69%
G 72 of 232 ~ 31.03%
B 112 of 232 ~ 48.28'%

%20.69
%31.03
%48.28

CMYK color model

#304870 color CMYK value is (57,36,0,56).

  • cyan value is 57.14%
  • magenta value is 35.71%
  • yellow value is 0.00%
  • key color value is 56.08%

CMYK: (57,36,0,56)
C57M36Y0K56 (57%, 36%, 0%, 56%)
(0.57 / 0.36 / 0.00 / 0.56)

CMYK percentages

%57.14
%35.71
%0
%56.08

Codes

Color #304870 in popluar color models

30 48 70
RGB 48 72 112
HSL 218° 40.00% 31.37%
HSB/HSV 218° 57.14% 43.92%
CMYK 57.14% 35.71% 0.00%
56.08%

Color #304870 in popluar number systems.

HEX 30 48 70
Decimal 48 72 112
Binary 110000 1001000 1110000
Octal 60 110 160

Shades and tints

Shades of #304870

#304870
(48,72,112)
#2C4266
(44,66,102)
#283C5C
(40,60,92)
#243652
(36,54,82)
#203048
(32,48,72)
#1C2A3E
(28,42,62)
#182434
(24,36,52)
#141E2A
(20,30,42)
#101820
(16,24,32)
#0C1216
(12,18,22)
#080C0C
(8,12,12)
#000000
(0,0,0)

Tints of #304870

#304870
(48,72,112)
#42587D
(66,88,125)
#54688A
(84,104,138)
#667897
(102,120,151)
#7888A4
(120,136,164)
#8A98B1
(138,152,177)
#9CA8BE
(156,168,190)
#AEB8CB
(174,184,203)
#C0C8D8
(192,200,216)
#D2D8E5
(210,216,229)
#E4E8F2
(228,232,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304870 color. Also use rgb(48,72,112) instead hex code.

Text Font Color

.myTextColor { color: #304870; }

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

This text font color is #304870.

Background Color

.myBgColor { background-color: #304870; }

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

This div background color is #304870.

Border color

.myBorderColor { border: 1px solid #304870; }

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

This div border color is #304870.

Opacity

.myOpacity80 { color: #304870; opacity: 0.8; }

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

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

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

This text has shadow with #304870 color.


.textShadow {text-shadow: 3px 3px 1px #304870', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #304870; -webkit-box-shadow: 1px 1px 3px 2px #304870; box-shadow:1px 1px 3px 2px #304870;">
Div content here
</div>

This div box has shadow with color #304870.

Preview

Color preview on black background

This text has color #304870 on black background.


Color preview on white background

This text has color #304870 on white background.


Black color preview on #304870 background

This text has black color on #304870 background.


White color preview on #304870 background

This text has white color on #304870 background.


Related colors

Complementary color

Complementary color for #hex is #CFB78F.


I love getcolorcode.com

Triadic colors

1 #703048 and #487030 with #304870 are triadic colors.

2 #704830 and #483070 with #304870 are triadic colors.