COLOR #304858

HEX: #304858 RGB: (48,72,88)

Color info

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

RGB color model

#304858 color RGB value is (48,72,88).

RGB: (48,72,88) (19%, 28%, 35%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 88 of 255 = 35%

48
72
88

R + G + B ~ 27%. #304858 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 88 = 208 (100%)
R 48 of 208 ~ 23.08%
G 72 of 208 ~ 34.62%
B 88 of 208 ~ 42.31'%

%23.08
%34.62
%42.31

CMYK color model

#304858 color CMYK value is (45,18,0,65).

  • cyan value is 45.45%
  • magenta value is 18.18%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (45,18,0,65)
C45M18Y0K65 (45%, 18%, 0%, 65%)
(0.45 / 0.18 / 0.00 / 0.65)

CMYK percentages

%45.45
%18.18
%0
%65.49

Codes

Color #304858 in popluar color models

30 48 58
RGB 48 72 88
HSL 204° 29.41% 26.67%
HSB/HSV 204° 45.45% 34.51%
CMYK 45.45% 18.18% 0.00%
65.49%

Color #304858 in popluar number systems.

HEX 30 48 58
Decimal 48 72 88
Binary 110000 1001000 1011000
Octal 60 110 130

Shades and tints

Shades of #304858

#304858
(48,72,88)
#2C4250
(44,66,80)
#283C48
(40,60,72)
#243640
(36,54,64)
#203038
(32,48,56)
#1C2A30
(28,42,48)
#182428
(24,36,40)
#141E20
(20,30,32)
#101818
(16,24,24)
#0C1210
(12,18,16)
#080C08
(8,12,8)
#000000
(0,0,0)

Tints of #304858

#304858
(48,72,88)
#425867
(66,88,103)
#546876
(84,104,118)
#667885
(102,120,133)
#788894
(120,136,148)
#8A98A3
(138,152,163)
#9CA8B2
(156,168,178)
#AEB8C1
(174,184,193)
#C0C8D0
(192,200,208)
#D2D8DF
(210,216,223)
#E4E8EE
(228,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304858; }

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

This text font color is #304858.

Background Color

.myBgColor { background-color: #304858; }

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

This div background color is #304858.

Border color

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

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

This div border color is #304858.

Opacity

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

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

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

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

This text has shadow with #304858 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304858.

Preview

Color preview on black background

This text has color #304858 on black background.


Color preview on white background

This text has color #304858 on white background.


Black color preview on #304858 background

This text has black color on #304858 background.


White color preview on #304858 background

This text has white color on #304858 background.


Related colors

Complementary color

Complementary color for #hex is #CFB7A7.


I love getcolorcode.com

Triadic colors

1 #583048 and #485830 with #304858 are triadic colors.

2 #584830 and #483058 with #304858 are triadic colors.