COLOR #1F317C

HEX: #1F317C RGB: (31,49,124)

Color info

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

RGB color model

#1F317C color RGB value is (31,49,124).

RGB: (31,49,124) (12%, 19%, 49%)

RGB channels and saturation

R 31 of 255 = 12%
G 49 of 255 = 19%
B 124 of 255 = 49%

31
49
124

R + G + B ~ 27%. #1F317C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 49 + 124 = 204 (100%)
R 31 of 204 ~ 15.2%
G 49 of 204 ~ 24.02%
B 124 of 204 ~ 60.78'%

%15.2
%24.02
%60.78

CMYK color model

#1F317C color CMYK value is (75,60,0,51).

  • cyan value is 75.00%
  • magenta value is 60.48%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (75,60,0,51)
C75M60Y0K51 (75%, 60%, 0%, 51%)
(0.75 / 0.60 / 0.00 / 0.51)

CMYK percentages

%75
%60.48
%0
%51.37

Codes

Color #1F317C in popluar color models

1F 31 7C
RGB 31 49 124
HSL 228° 60.00% 30.39%
HSB/HSV 228° 75.00% 48.63%
CMYK 75.00% 60.48% 0.00%
51.37%

Color #1F317C in popluar number systems.

HEX 1F 31 7C
Decimal 31 49 124
Binary 11111 110001 1111100
Octal 37 61 174

Shades and tints

Shades of #1F317C

#1F317C
(31,49,124)
#1D2D71
(29,45,113)
#1B2966
(27,41,102)
#19255B
(25,37,91)
#172150
(23,33,80)
#151D45
(21,29,69)
#13193A
(19,25,58)
#11152F
(17,21,47)
#0F1124
(15,17,36)
#0D0D19
(13,13,25)
#0B090E
(11,9,14)
#000000
(0,0,0)

Tints of #1F317C

#1F317C
(31,49,124)
#334387
(51,67,135)
#475592
(71,85,146)
#5B679D
(91,103,157)
#6F79A8
(111,121,168)
#838BB3
(131,139,179)
#979DBE
(151,157,190)
#ABAFC9
(171,175,201)
#BFC1D4
(191,193,212)
#D3D3DF
(211,211,223)
#E7E5EA
(231,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F317C color. Also use rgb(31,49,124) instead hex code.

Text Font Color

.myTextColor { color: #1F317C; }

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

This text font color is #1F317C.

Background Color

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

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

This div background color is #1F317C.

Border color

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

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

This div border color is #1F317C.

Opacity

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

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

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

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

This text has shadow with #1F317C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F317C.

Preview

Color preview on black background

This text has color #1F317C on black background.


Color preview on white background

This text has color #1F317C on white background.


Black color preview on #1F317C background

This text has black color on #1F317C background.


White color preview on #1F317C background

This text has white color on #1F317C background.


Related colors

Complementary color

Complementary color for #hex is #E0CE83.


I love getcolorcode.com

Triadic colors

1 #7C1F31 and #317C1F with #1F317C are triadic colors.

2 #7C311F and #311F7C with #1F317C are triadic colors.