COLOR #304877

HEX: #304877 RGB: (48,72,119)

Color info

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

RGB color model

#304877 color RGB value is (48,72,119).

RGB: (48,72,119) (19%, 28%, 47%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 119 of 255 = 47%

48
72
119

R + G + B ~ 31%. #304877 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 119 = 239 (100%)
R 48 of 239 ~ 20.08%
G 72 of 239 ~ 30.13%
B 119 of 239 ~ 49.79'%

%20.08
%30.13
%49.79

CMYK color model

#304877 color CMYK value is (60,39,0,53).

  • cyan value is 59.66%
  • magenta value is 39.50%
  • yellow value is 0.00%
  • key color value is 53.33%

CMYK: (60,39,0,53)
C60M39Y0K53 (60%, 39%, 0%, 53%)
(0.60 / 0.39 / 0.00 / 0.53)

CMYK percentages

%59.66
%39.5
%0
%53.33

Codes

Color #304877 in popluar color models

30 48 77
RGB 48 72 119
HSL 220° 42.51% 32.75%
HSB/HSV 220° 59.66% 46.67%
CMYK 59.66% 39.50% 0.00%
53.33%

Color #304877 in popluar number systems.

HEX 30 48 77
Decimal 48 72 119
Binary 110000 1001000 1110111
Octal 60 110 167

Shades and tints

Shades of #304877

#304877
(48,72,119)
#2C426D
(44,66,109)
#283C63
(40,60,99)
#243659
(36,54,89)
#20304F
(32,48,79)
#1C2A45
(28,42,69)
#18243B
(24,36,59)
#141E31
(20,30,49)
#101827
(16,24,39)
#0C121D
(12,18,29)
#080C13
(8,12,19)
#000000
(0,0,0)

Tints of #304877

#304877
(48,72,119)
#425883
(66,88,131)
#54688F
(84,104,143)
#66789B
(102,120,155)
#7888A7
(120,136,167)
#8A98B3
(138,152,179)
#9CA8BF
(156,168,191)
#AEB8CB
(174,184,203)
#C0C8D7
(192,200,215)
#D2D8E3
(210,216,227)
#E4E8EF
(228,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304877; }

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

This text font color is #304877.

Background Color

.myBgColor { background-color: #304877; }

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

This div background color is #304877.

Border color

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

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

This div border color is #304877.

Opacity

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

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

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

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

This text has shadow with #304877 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304877.

Preview

Color preview on black background

This text has color #304877 on black background.


Color preview on white background

This text has color #304877 on white background.


Black color preview on #304877 background

This text has black color on #304877 background.


White color preview on #304877 background

This text has white color on #304877 background.


Related colors

Complementary color

Complementary color for #hex is #CFB788.


I love getcolorcode.com

Triadic colors

1 #773048 and #487730 with #304877 are triadic colors.

2 #774830 and #483077 with #304877 are triadic colors.