In RGB color space, #1f217b hex color has a red value of 31, a green value of 33 and a blue value of 123.
In CMYK color space (used in color printing), #1f217b hex color is composed of 74.8% cyan, 73.17% magenta, 0% yellow and 51.76% black.
#1f217b color has a hue of 238.7 degrees, a saturation of 59.74% and a lightness of 30.2%.
#1f217b hex color contains mainly BLUE.
The closest web safe color of #1f217b is #333366
#1f217b hex color has a decimal value of 2040187.
HEX | 1f217b | #1f217b |
---|---|---|
RGB | 31, 33, 123 | rgb(31, 33, 123) |
RGB Percent | 12.16, 12.94, 48.24 | rgb(12.16, 12.94, 48.24) |
CMYK | 75, 73, 0, 52 | |
HSL | 238.7°, 59.74, 30.2 | hsl(238.7, 59.74%, 30.2%) |
HSV | 238.7°, 74.8, 48.2 |
XYZ | 4.684, 2.809, 19.034 |
---|---|
Hunter Lab | 16.76, 20.556, -55.602 |
CIE-LAB | 19.262, 31.322, -51.032 |
CIE-LCH | 19.262, 59.878, 301.54 |
CIE-LUV | 74.8, 73.17, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #1f217b
CMYK percent of color #1f217b
Text with hexadecimal color #1f217b
This text has a font color of #1f217b
<p style="color:#1f217b">Text here</p>
#1f217b Background Color
This box has a background color of #1f217b
<div style="background-color:#1f217b">Text here</div>
#1f217b Border Color
This box has a border color of #1f217b
<div style="border: 4px solid #1f217b">Text here</div>
CSS codes
<p style="color:#1f217b">Text here</p>
<div style="background-color:#1f217b">Text here</div>
<div style="border: 4px solid #1f217b">Text here</div>
#1f217b Color on white background
This is how a font and box color of #1f217b will look
on a white background.
#1f217b Color on black background
This is how a font and box color of #1f217b hex color will look
on a black background.