COLOR #304B71

HEX: #304B71
RGB: (48,75,113)

Color info

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

RGB color model

#304B71 color RGB value is (48,75,113).

  • red value is 48;
  • green value is 75;
  • blue value is 113.
RGB:
(48,75,113)
(19%,29%,44%)

RGB channels and saturation

R 48 of 255 = 19%
G 75 of 255 = 29%
B 113 of 255 = 44%

48
75
113

R + G + B ~ 31%. #304B71 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 75 + 113 = 236 (100%)
R 48 of 236 ~ 20.34%
G 75 of 236 ~ 31.78%
B 113 of 236 ~ 47.88%

%20.34
%31.78
%47.88

CMYK color model

#304B71 color CMYK value is (58,34,0,56).

  • cyan value is 57.52%
  • magenta value is 33.63%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(58,34,0,56)
C58M34Y0K56 
(58%,34%,0%,56%)
(0.58/0.34/0.00/0.56)	

CMYK percentages

%57.52
%33.63
%0
%55.69

Codes

Color #304B71 in popluar color models

304B71
RGB4875113
HSL215°40.37%31.57%
HSB/HSV215°57.52%44.31%
CMYK57.52%33.63%0.00%
55.69%

Color #304B71 in popluar number systems.

HEX304B71
Decimal4875113
Binary11000010010111110001
Octal60113161

Shades and tints

Shades of #304B71

#304B71
(48,75,113)
#2C4567
(44,69,103)
#283F5D
(40,63,93)
#243953
(36,57,83)
#203349
(32,51,73)
#1C2D3F
(28,45,63)
#182735
(24,39,53)
#14212B
(20,33,43)
#101B21
(16,27,33)
#0C1517
(12,21,23)
#080F0D
(8,15,13)
#000000
(0,0,0)

Tints of #304B71

#304B71
(48,75,113)
#425B7D
(66,91,125)
#546B89
(84,107,137)
#667B95
(102,123,149)
#788BA1
(120,139,161)
#8A9BAD
(138,155,173)
#9CABB9
(156,171,185)
#AEBBC5
(174,187,197)
#C0CBD1
(192,203,209)
#D2DBDD
(210,219,221)
#E4EBE9
(228,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304B71; }

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

This text font color is #304B71.


Background Color

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

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

This div background color is #304B71.


Border color

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

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

This div border color is #304B71.


Opacity

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

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

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

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

This text has shadow with #304B71 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304B71 on black background.


Color preview on white background

This text has color #304B71 on white background.



Black color preview on #304B71 background

This text has black color on #304B71 background.


White color preview on #304B71 background

This text has white color on #304B71 background.