COLOR #304B9A

HEX: #304B9A RGB: (48,75,154)

Color info

#304B9A contains mainly blue color. Web safe color of #304B9A is #333399 (or #339).

RGB color model

#304B9A color RGB value is (48,75,154).

RGB: (48,75,154) (19%, 29%, 60%)

RGB channels and saturation

R 48 of 255 = 19%
G 75 of 255 = 29%
B 154 of 255 = 60%

48
75
154

R + G + B ~ 36%. #304B9A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 75 + 154 = 277 (100%)
R 48 of 277 ~ 17.33%
G 75 of 277 ~ 27.08%
B 154 of 277 ~ 55.6'%

%17.33
%27.08
%55.6

CMYK color model

#304B9A color CMYK value is (69,51,0,40).

  • cyan value is 68.83%
  • magenta value is 51.30%
  • yellow value is 0.00%
  • key color value is 39.61%

CMYK: (69,51,0,40)
C69M51Y0K40 (69%, 51%, 0%, 40%)
(0.69 / 0.51 / 0.00 / 0.40)

CMYK percentages

%68.83
%51.3
%0
%39.61

Codes

Color #304B9A in popluar color models

30 4B 9A
RGB 48 75 154
HSL 225° 52.48% 39.61%
HSB/HSV 225° 68.83% 60.39%
CMYK 68.83% 51.30% 0.00%
39.61%

Color #304B9A in popluar number systems.

HEX 30 4B 9A
Decimal 48 75 154
Binary 110000 1001011 10011010
Octal 60 113 232

Shades and tints

Shades of #304B9A

#304B9A
(48,75,154)
#2C458C
(44,69,140)
#283F7E
(40,63,126)
#243970
(36,57,112)
#203362
(32,51,98)
#1C2D54
(28,45,84)
#182746
(24,39,70)
#142138
(20,33,56)
#101B2A
(16,27,42)
#0C151C
(12,21,28)
#080F0E
(8,15,14)
#000000
(0,0,0)

Tints of #304B9A

#304B9A
(48,75,154)
#425BA3
(66,91,163)
#546BAC
(84,107,172)
#667BB5
(102,123,181)
#788BBE
(120,139,190)
#8A9BC7
(138,155,199)
#9CABD0
(156,171,208)
#AEBBD9
(174,187,217)
#C0CBE2
(192,203,226)
#D2DBEB
(210,219,235)
#E4EBF4
(228,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304B9A color. Also use rgb(48,75,154) instead hex code.

Text Font Color

.myTextColor { color: #304B9A; }

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

This text font color is #304B9A.

Background Color

.myBgColor { background-color: #304B9A; }

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

This div background color is #304B9A.

Border color

.myBorderColor { border: 1px solid #304B9A; }

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

This div border color is #304B9A.

Opacity

.myOpacity80 { color: #304B9A; opacity: 0.8; }

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

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

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

This text has shadow with #304B9A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304B9A.

Preview

Color preview on black background

This text has color #304B9A on black background.


Color preview on white background

This text has color #304B9A on white background.


Black color preview on #304B9A background

This text has black color on #304B9A background.


White color preview on #304B9A background

This text has white color on #304B9A background.


Related colors

Complementary color

Complementary color for #hex is #CFB465.


I love getcolorcode.com

Triadic colors

1 #9A304B and #4B9A30 with #304B9A are triadic colors.

2 #9A4B30 and #4B309A with #304B9A are triadic colors.