COLOR #301948

HEX: #301948 RGB: (48,25,72)

Color info

#301948 contains red, green and blue colors in about the same proportion. Web safe color of #301948 is #330033 (or #303).

RGB color model

#301948 color RGB value is (48,25,72).

RGB: (48,25,72) (19%, 10%, 28%)

RGB channels and saturation

R 48 of 255 = 19%
G 25 of 255 = 10%
B 72 of 255 = 28%

48
25
72

R + G + B ~ 19%. #301948 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 25 + 72 = 145 (100%)
R 48 of 145 ~ 33.1%
G 25 of 145 ~ 17.24%
B 72 of 145 ~ 49.66'%

%33.1
%17.24
%49.66

CMYK color model

#301948 color CMYK value is (33,65,0,72).

  • cyan value is 33.33%
  • magenta value is 65.28%
  • yellow value is 0.00%
  • key color value is 71.76%

CMYK: (33,65,0,72)
C33M65Y0K72 (33%, 65%, 0%, 72%)
(0.33 / 0.65 / 0.00 / 0.72)

CMYK percentages

%33.33
%65.28
%0
%71.76

Codes

Color #301948 in popluar color models

30 19 48
RGB 48 25 72
HSL 269° 48.45% 19.02%
HSB/HSV 269° 65.28% 28.24%
CMYK 33.33% 65.28% 0.00%
71.76%

Color #301948 in popluar number systems.

HEX 30 19 48
Decimal 48 25 72
Binary 110000 11001 1001000
Octal 60 31 110

Shades and tints

Shades of #301948

#301948
(48,25,72)
#2C1742
(44,23,66)
#28153C
(40,21,60)
#241336
(36,19,54)
#201130
(32,17,48)
#1C0F2A
(28,15,42)
#180D24
(24,13,36)
#140B1E
(20,11,30)
#100918
(16,9,24)
#0C0712
(12,7,18)
#08050C
(8,5,12)
#000000
(0,0,0)

Tints of #301948

#301948
(48,25,72)
#422D58
(66,45,88)
#544168
(84,65,104)
#665578
(102,85,120)
#786988
(120,105,136)
#8A7D98
(138,125,152)
#9C91A8
(156,145,168)
#AEA5B8
(174,165,184)
#C0B9C8
(192,185,200)
#D2CDD8
(210,205,216)
#E4E1E8
(228,225,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #301948 color. Also use rgb(48,25,72) instead hex code.

Text Font Color

.myTextColor { color: #301948; }

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

This text font color is #301948.

Background Color

.myBgColor { background-color: #301948; }

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

This div background color is #301948.

Border color

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

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

This div border color is #301948.

Opacity

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

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

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

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

This text has shadow with #301948 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #301948.

Preview

Color preview on black background

This text has color #301948 on black background.


Color preview on white background

This text has color #301948 on white background.


Black color preview on #301948 background

This text has black color on #301948 background.


White color preview on #301948 background

This text has white color on #301948 background.


Related colors

Complementary color

Complementary color for #hex is #CFE6B7.


I love getcolorcode.com

Triadic colors

1 #483019 and #194830 with #301948 are triadic colors.

2 #481930 and #193048 with #301948 are triadic colors.