COLOR #1F307B

HEX: #1F307B RGB: (31,48,123)

Color info

#1F307B contains mainly blue color. Web safe color of #1F307B is #333366 (or #336).

RGB color model

#1F307B color RGB value is (31,48,123).

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

RGB channels and saturation

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

31
48
123

R + G + B ~ 26%. #1F307B is quite dark color.

Portions of RGB colors in percentages

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

%15.35
%23.76
%60.89

CMYK color model

#1F307B color CMYK value is (75,61,0,52).

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

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

CMYK percentages

%74.8
%60.98
%0
%51.76

Codes

Color #1F307B in popluar color models

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

Color #1F307B in popluar number systems.

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

Shades and tints

Shades of #1F307B

#1F307B
(31,48,123)
#1D2C70
(29,44,112)
#1B2865
(27,40,101)
#19245A
(25,36,90)
#17204F
(23,32,79)
#151C44
(21,28,68)
#131839
(19,24,57)
#11142E
(17,20,46)
#0F1023
(15,16,35)
#0D0C18
(13,12,24)
#0B080D
(11,8,13)
#000000
(0,0,0)

Tints of #1F307B

#1F307B
(31,48,123)
#334287
(51,66,135)
#475493
(71,84,147)
#5B669F
(91,102,159)
#6F78AB
(111,120,171)
#838AB7
(131,138,183)
#979CC3
(151,156,195)
#ABAECF
(171,174,207)
#BFC0DB
(191,192,219)
#D3D2E7
(211,210,231)
#E7E4F3
(231,228,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F307B; }

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

This text font color is #1F307B.

Background Color

.myBgColor { background-color: #1F307B; }

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

This div background color is #1F307B.

Border color

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

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

This div border color is #1F307B.

Opacity

.myOpacity80 { color: #1F307B; opacity: 0.8; }

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

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

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

This text has shadow with #1F307B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F307B.

Preview

Color preview on black background

This text has color #1F307B on black background.


Color preview on white background

This text has color #1F307B on white background.


Black color preview on #1F307B background

This text has black color on #1F307B background.


White color preview on #1F307B background

This text has white color on #1F307B background.


Related colors

Complementary color

Complementary color for #hex is #E0CF84.


I love getcolorcode.com

Triadic colors

1 #7B1F30 and #307B1F with #1F307B are triadic colors.

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