COLOR #304172

HEX: #304172 RGB: (48,65,114)

Color info

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

RGB color model

#304172 color RGB value is (48,65,114).

RGB: (48,65,114) (19%, 25%, 45%)

RGB channels and saturation

R 48 of 255 = 19%
G 65 of 255 = 25%
B 114 of 255 = 45%

48
65
114

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

Portions of RGB colors in percentages

R + G + B = 48 + 65 + 114 = 227 (100%)
R 48 of 227 ~ 21.15%
G 65 of 227 ~ 28.63%
B 114 of 227 ~ 50.22'%

%21.15
%28.63
%50.22

CMYK color model

#304172 color CMYK value is (58,43,0,55).

  • cyan value is 57.89%
  • magenta value is 42.98%
  • yellow value is 0.00%
  • key color value is 55.29%

CMYK: (58,43,0,55)
C58M43Y0K55 (58%, 43%, 0%, 55%)
(0.58 / 0.43 / 0.00 / 0.55)

CMYK percentages

%57.89
%42.98
%0
%55.29

Codes

Color #304172 in popluar color models

30 41 72
RGB 48 65 114
HSL 225° 40.74% 31.76%
HSB/HSV 225° 57.89% 44.71%
CMYK 57.89% 42.98% 0.00%
55.29%

Color #304172 in popluar number systems.

HEX 30 41 72
Decimal 48 65 114
Binary 110000 1000001 1110010
Octal 60 101 162

Shades and tints

Shades of #304172

#304172
(48,65,114)
#2C3C68
(44,60,104)
#28375E
(40,55,94)
#243254
(36,50,84)
#202D4A
(32,45,74)
#1C2840
(28,40,64)
#182336
(24,35,54)
#141E2C
(20,30,44)
#101922
(16,25,34)
#0C1418
(12,20,24)
#080F0E
(8,15,14)
#000000
(0,0,0)

Tints of #304172

#304172
(48,65,114)
#42527E
(66,82,126)
#54638A
(84,99,138)
#667496
(102,116,150)
#7885A2
(120,133,162)
#8A96AE
(138,150,174)
#9CA7BA
(156,167,186)
#AEB8C6
(174,184,198)
#C0C9D2
(192,201,210)
#D2DADE
(210,218,222)
#E4EBEA
(228,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304172 color. Also use rgb(48,65,114) instead hex code.

Text Font Color

.myTextColor { color: #304172; }

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

This text font color is #304172.

Background Color

.myBgColor { background-color: #304172; }

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

This div background color is #304172.

Border color

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

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

This div border color is #304172.

Opacity

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

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

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

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

This text has shadow with #304172 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304172.

Preview

Color preview on black background

This text has color #304172 on black background.


Color preview on white background

This text has color #304172 on white background.


Black color preview on #304172 background

This text has black color on #304172 background.


White color preview on #304172 background

This text has white color on #304172 background.


Related colors

Complementary color

Complementary color for #hex is #CFBE8D.


I love getcolorcode.com

Triadic colors

1 #723041 and #417230 with #304172 are triadic colors.

2 #724130 and #413072 with #304172 are triadic colors.