COLOR #301F7B

HEX: #301F7B RGB: (48,31,123)

Color info

#301F7B contains mainly blue color. Web safe color of #301F7B is #333366 (or #336).

RGB color model

#301F7B color RGB value is (48,31,123).

RGB: (48,31,123) (19%, 12%, 48%)

RGB channels and saturation

R 48 of 255 = 19%
G 31 of 255 = 12%
B 123 of 255 = 48%

48
31
123

R + G + B ~ 26%. #301F7B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 31 + 123 = 202 (100%)
R 48 of 202 ~ 23.76%
G 31 of 202 ~ 15.35%
B 123 of 202 ~ 60.89'%

%23.76
%15.35
%60.89

CMYK color model

#301F7B color CMYK value is (61,75,0,52).

  • cyan value is 60.98%
  • magenta value is 74.80%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (61,75,0,52)
C61M75Y0K52 (61%, 75%, 0%, 52%)
(0.61 / 0.75 / 0.00 / 0.52)

CMYK percentages

%60.98
%74.8
%0
%51.76

Codes

Color #301F7B in popluar color models

30 1F 7B
RGB 48 31 123
HSL 251° 59.74% 30.20%
HSB/HSV 251° 74.80% 48.24%
CMYK 60.98% 74.80% 0.00%
51.76%

Color #301F7B in popluar number systems.

HEX 30 1F 7B
Decimal 48 31 123
Binary 110000 11111 1111011
Octal 60 37 173

Shades and tints

Shades of #301F7B

#301F7B
(48,31,123)
#2C1D70
(44,29,112)
#281B65
(40,27,101)
#24195A
(36,25,90)
#20174F
(32,23,79)
#1C1544
(28,21,68)
#181339
(24,19,57)
#14112E
(20,17,46)
#100F23
(16,15,35)
#0C0D18
(12,13,24)
#080B0D
(8,11,13)
#000000
(0,0,0)

Tints of #301F7B

#301F7B
(48,31,123)
#423387
(66,51,135)
#544793
(84,71,147)
#665B9F
(102,91,159)
#786FAB
(120,111,171)
#8A83B7
(138,131,183)
#9C97C3
(156,151,195)
#AEABCF
(174,171,207)
#C0BFDB
(192,191,219)
#D2D3E7
(210,211,231)
#E4E7F3
(228,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #301F7B color. Also use rgb(48,31,123) instead hex code.

Text Font Color

.myTextColor { color: #301F7B; }

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

This text font color is #301F7B.

Background Color

.myBgColor { background-color: #301F7B; }

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

This div background color is #301F7B.

Border color

.myBorderColor { border: 1px solid #301F7B; }

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

This div border color is #301F7B.

Opacity

.myOpacity80 { color: #301F7B; opacity: 0.8; }

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

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

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

This text has shadow with #301F7B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #301F7B.

Preview

Color preview on black background

This text has color #301F7B on black background.


Color preview on white background

This text has color #301F7B on white background.


Black color preview on #301F7B background

This text has black color on #301F7B background.


White color preview on #301F7B background

This text has white color on #301F7B background.


Related colors

Complementary color

Complementary color for #hex is #CFE084.


I love getcolorcode.com

Triadic colors

1 #7B301F and #1F7B30 with #301F7B are triadic colors.

2 #7B1F30 and #1F307B with #301F7B are triadic colors.