In RGB color space, #1f217e hex color has a red value of 31, a green value of 33 and a blue value of 126.
In CMYK color space (used in color printing), #1f217e hex color is composed of 75.4% cyan, 73.81% magenta, 0% yellow and 50.59% black.
#1f217e color has a hue of 238.7 degrees, a saturation of 60.51% and a lightness of 30.8%.
#1f217e hex color contains mainly BLUE.
The closest web safe color of #1f217e is #333366
#1f217e hex color has a decimal value of 2040190.
HEX | 1f217e | #1f217e |
---|---|---|
RGB | 31, 33, 126 | rgb(31, 33, 126) |
RGB Percent | 12.16, 12.94, 49.41 | rgb(12.16, 12.94, 49.41) |
CMYK | 75, 74, 0, 51 | |
HSL | 238.7°, 60.51, 30.8 | hsl(238.7, 60.51%, 30.8%) |
HSV | 238.7°, 75.4, 49.4 |
XYZ | 4.875, 2.885, 20.039 |
---|---|
Hunter Lab | 16.985, 21.508, -58.06 |
CIE-LAB | 19.577, 32.422, -52.423 |
CIE-LCH | 19.577, 61.639, 301.736 |
CIE-LUV | 75.4, 73.81, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #1f217e
CMYK percent of color #1f217e
Text with hexadecimal color #1f217e
This text has a font color of #1f217e
<p style="color:#1f217e">Text here</p>
#1f217e Background Color
This box has a background color of #1f217e
<div style="background-color:#1f217e">Text here</div>
#1f217e Border Color
This box has a border color of #1f217e
<div style="border: 4px solid #1f217e">Text here</div>
CSS codes
<p style="color:#1f217e">Text here</p>
<div style="background-color:#1f217e">Text here</div>
<div style="border: 4px solid #1f217e">Text here</div>
#1f217e Color on white background
This is how a font and box color of #1f217e will look
on a white background.
#1f217e Color on black background
This is how a font and box color of #1f217e hex color will look
on a black background.