In RGB color space, #1f3871 hex color has a red value of 31, a green value of 56 and a blue value of 113.
In CMYK color space (used in color printing), #1f3871 hex color is composed of 72.57% cyan, 50.44% magenta, 0% yellow and 55.69% black.
#1f3871 color has a hue of 221.7 degrees, a saturation of 56.94% and a lightness of 28.2%.
#1f3871 hex color contains mainly BLUE.
The closest web safe color of #1f3871 is #333366
#1f3871 hex color has a decimal value of 2046065.
HEX | 1f3871 | #1f3871 |
---|---|---|
RGB | 31, 56, 113 | rgb(31, 56, 113) |
RGB Percent | 12.16, 21.96, 44.31 | rgb(12.16, 21.96, 44.31) |
CMYK | 73, 50, 0, 56 | |
HSL | 221.7°, 56.94, 28.2 | hsl(221.7, 56.94%, 28.2%) |
HSV | 221.7°, 72.6, 44.3 |
XYZ | 4.96, 4.312, 16.194 |
---|---|
Hunter Lab | 20.765, 6.297, -31.702 |
CIE-LAB | 24.677, 11.514, -35.832 |
CIE-LCH | 24.677, 37.636, 287.814 |
CIE-LUV | 72.57, 50.44, 0, 55.69 |
Web Safe | 333366 |
RGB percent of color #1f3871
CMYK percent of color #1f3871
Text with hexadecimal color #1f3871
This text has a font color of #1f3871
<p style="color:#1f3871">Text here</p>
#1f3871 Background Color
This box has a background color of #1f3871
<div style="background-color:#1f3871">Text here</div>
#1f3871 Border Color
This box has a border color of #1f3871
<div style="border: 4px solid #1f3871">Text here</div>
CSS codes
<p style="color:#1f3871">Text here</p>
<div style="background-color:#1f3871">Text here</div>
<div style="border: 4px solid #1f3871">Text here</div>
#1f3871 Color on white background
This is how a font and box color of #1f3871 will look
on a white background.
#1f3871 Color on black background
This is how a font and box color of #1f3871 hex color will look
on a black background.