In RGB color space, #1f218e hex color has a red value of 31, a green value of 33 and a blue value of 142.
In CMYK color space (used in color printing), #1f218e hex color is composed of 78.17% cyan, 76.76% magenta, 0% yellow and 44.31% black.
#1f218e color has a hue of 238.9 degrees, a saturation of 64.16% and a lightness of 33.9%.
#1f218e hex color contains mainly BLUE.
The closest web safe color of #1f218e is #333399
#1f218e hex color has a decimal value of 2040206.
HEX | 1f218e | #1f218e |
---|---|---|
RGB | 31, 33, 142 | rgb(31, 33, 142) |
RGB Percent | 12.16, 12.94, 55.69 | rgb(12.16, 12.94, 55.69) |
CMYK | 78, 77, 0, 44 | |
HSL | 238.9°, 64.16, 33.9 | hsl(238.9, 64.16%, 33.9%) |
HSV | 238.9°, 78.2, 55.7 |
XYZ | 5.991, 3.332, 25.919 |
---|---|
Hunter Lab | 18.254, 26.641, -71.41 |
CIE-LAB | 21.327, 38.093, -59.593 |
CIE-LCH | 21.327, 70.728, 302.588 |
CIE-LUV | 78.17, 76.76, 0, 44.31 |
Web Safe | 333399 |
RGB percent of color #1f218e
CMYK percent of color #1f218e
Text with hexadecimal color #1f218e
This text has a font color of #1f218e
<p style="color:#1f218e">Text here</p>
#1f218e Background Color
This box has a background color of #1f218e
<div style="background-color:#1f218e">Text here</div>
#1f218e Border Color
This box has a border color of #1f218e
<div style="border: 4px solid #1f218e">Text here</div>
CSS codes
<p style="color:#1f218e">Text here</p>
<div style="background-color:#1f218e">Text here</div>
<div style="border: 4px solid #1f218e">Text here</div>
#1f218e Color on white background
This is how a font and box color of #1f218e will look
on a white background.
#1f218e Color on black background
This is how a font and box color of #1f218e hex color will look
on a black background.