COLOR #305A8C

HEX: #305A8C RGB: (48,90,140)

Color info

#305A8C contains mainly green and blue colors. Web safe color of #305A8C is #336699 (or #369).

RGB color model

#305A8C color RGB value is (48,90,140).

RGB: (48,90,140) (19%, 35%, 55%)

RGB channels and saturation

R 48 of 255 = 19%
G 90 of 255 = 35%
B 140 of 255 = 55%

48
90
140

R + G + B ~ 36%. #305A8C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 90 + 140 = 278 (100%)
R 48 of 278 ~ 17.27%
G 90 of 278 ~ 32.37%
B 140 of 278 ~ 50.36'%

%17.27
%32.37
%50.36

CMYK color model

#305A8C color CMYK value is (66,36,0,45).

  • cyan value is 65.71%
  • magenta value is 35.71%
  • yellow value is 0.00%
  • key color value is 45.10%

CMYK: (66,36,0,45)
C66M36Y0K45 (66%, 36%, 0%, 45%)
(0.66 / 0.36 / 0.00 / 0.45)

CMYK percentages

%65.71
%35.71
%0
%45.1

Codes

Color #305A8C in popluar color models

30 5A 8C
RGB 48 90 140
HSL 213° 48.94% 36.86%
HSB/HSV 213° 65.71% 54.90%
CMYK 65.71% 35.71% 0.00%
45.10%

Color #305A8C in popluar number systems.

HEX 30 5A 8C
Decimal 48 90 140
Binary 110000 1011010 10001100
Octal 60 132 214

Shades and tints

Shades of #305A8C

#305A8C
(48,90,140)
#2C5280
(44,82,128)
#284A74
(40,74,116)
#244268
(36,66,104)
#203A5C
(32,58,92)
#1C3250
(28,50,80)
#182A44
(24,42,68)
#142238
(20,34,56)
#101A2C
(16,26,44)
#0C1220
(12,18,32)
#080A14
(8,10,20)
#000000
(0,0,0)

Tints of #305A8C

#305A8C
(48,90,140)
#426996
(66,105,150)
#5478A0
(84,120,160)
#6687AA
(102,135,170)
#7896B4
(120,150,180)
#8AA5BE
(138,165,190)
#9CB4C8
(156,180,200)
#AEC3D2
(174,195,210)
#C0D2DC
(192,210,220)
#D2E1E6
(210,225,230)
#E4F0F0
(228,240,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #305A8C color. Also use rgb(48,90,140) instead hex code.

Text Font Color

.myTextColor { color: #305A8C; }

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

This text font color is #305A8C.

Background Color

.myBgColor { background-color: #305A8C; }

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

This div background color is #305A8C.

Border color

.myBorderColor { border: 1px solid #305A8C; }

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

This div border color is #305A8C.

Opacity

.myOpacity80 { color: #305A8C; opacity: 0.8; }

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

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

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

This text has shadow with #305A8C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #305A8C.

Preview

Color preview on black background

This text has color #305A8C on black background.


Color preview on white background

This text has color #305A8C on white background.


Black color preview on #305A8C background

This text has black color on #305A8C background.


White color preview on #305A8C background

This text has white color on #305A8C background.


Related colors

Complementary color

Complementary color for #hex is #CFA573.


I love getcolorcode.com

Triadic colors

1 #8C305A and #5A8C30 with #305A8C are triadic colors.

2 #8C5A30 and #5A308C with #305A8C are triadic colors.