COLOR #305BA7

HEX: #305BA7
RGB: (48,91,167)

Color info

#305BA7 contains mainly blue color. Web safe color of #305BA7 is #336699 (or #369).

RGB color model

#305BA7 color RGB value is (48,91,167).

  • red value is 48;
  • green value is 91;
  • blue value is 167.
RGB:
(48,91,167)
(19%,36%,65%)

RGB channels and saturation

R 48 of 255 = 19%
G 91 of 255 = 36%
B 167 of 255 = 65%

48
91
167

R + G + B ~ 40%. #305BA7 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
48 + 91 + 167 = 306 (100%)
R 48 of 306 ~ 15.69%
G 91 of 306 ~ 29.74%
B 167 of 306 ~ 54.58%

%15.69
%29.74
%54.58

CMYK color model

#305BA7 color CMYK value is (71,46,0,35).

  • cyan value is 71.26%
  • magenta value is 45.51%
  • yellow value is 0.00%
  • key color value is 34.51%
CMYK:
(71,46,0,35)
C71M46Y0K35 
(71%,46%,0%,35%)
(0.71/0.46/0.00/0.35)	

CMYK percentages

%71.26
%45.51
%0
%34.51

Codes

Color #305BA7 in popluar color models

305BA7
RGB4891167
HSL218°55.35%42.16%
HSB/HSV218°71.26%65.49%
CMYK71.26%45.51%0.00%
34.51%

Color #305BA7 in popluar number systems.

HEX305BA7
Decimal4891167
Binary110000101101110100111
Octal60133247

Shades and tints

Shades of #305BA7

#305BA7
(48,91,167)
#2C5398
(44,83,152)
#284B89
(40,75,137)
#24437A
(36,67,122)
#203B6B
(32,59,107)
#1C335C
(28,51,92)
#182B4D
(24,43,77)
#14233E
(20,35,62)
#101B2F
(16,27,47)
#0C1320
(12,19,32)
#080B11
(8,11,17)
#000000
(0,0,0)

Tints of #305BA7

#305BA7
(48,91,167)
#4269AF
(66,105,175)
#5477B7
(84,119,183)
#6685BF
(102,133,191)
#7893C7
(120,147,199)
#8AA1CF
(138,161,207)
#9CAFD7
(156,175,215)
#AEBDDF
(174,189,223)
#C0CBE7
(192,203,231)
#D2D9EF
(210,217,239)
#E4E7F7
(228,231,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #305BA7 color. Also use rgb(48,91,167) instead hex code.

Text Font Color

.myTextColor { color: #305BA7; }

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

This text font color is #305BA7.


Background Color

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

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

This div background color is #305BA7.


Border color

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

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

This div border color is #305BA7.


Opacity

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

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

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

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

This text has shadow with #305BA7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #305BA7 on black background.


Color preview on white background

This text has color #305BA7 on white background.



Black color preview on #305BA7 background

This text has black color on #305BA7 background.


White color preview on #305BA7 background

This text has white color on #305BA7 background.