In RGB color space, #021f4d hex color has a red value of 2, a green value of 31 and a blue value of 77.
In CMYK color space (used in color printing), #021f4d hex color is composed of 97.4% cyan, 59.74% magenta, 0% yellow and 69.8% black.
#021f4d color has a hue of 216.8 degrees, a saturation of 94.94% and a lightness of 15.5%.
#021f4d hex color contains mainly BLUE.
The closest web safe color of #021f4d is #003366
#021f4d hex color has a decimal value of 139085.
HEX | 021f4d | #021f4d |
---|---|---|
RGB | 2, 31, 77 | rgb(2, 31, 77) |
RGB Percent | 0.78, 12.16, 30.2 | rgb(0.78, 12.16, 30.2) |
CMYK | 97, 60, 0, 70 | |
HSL | 216.8°, 94.94, 15.5 | hsl(216.8, 94.94%, 15.5%) |
HSV | 216.8°, 97.4, 30.2 |
XYZ | 1.855, 1.529, 7.219 |
---|---|
Hunter Lab | 12.365, 5.139, -25.959 |
CIE-LAB | 12.791, 10.518, -31.307 |
CIE-LCH | 12.791, 33.027, 288.57 |
CIE-LUV | 97.4, 59.74, 0, 69.8 |
Web Safe | 003366 |
RGB percent of color #021f4d
CMYK percent of color #021f4d
Text with hexadecimal color #021f4d
This text has a font color of #021f4d
<p style="color:#021f4d">Text here</p>
#021f4d Background Color
This box has a background color of #021f4d
<div style="background-color:#021f4d">Text here</div>
#021f4d Border Color
This box has a border color of #021f4d
<div style="border: 4px solid #021f4d">Text here</div>
CSS codes
<p style="color:#021f4d">Text here</p>
<div style="background-color:#021f4d">Text here</div>
<div style="border: 4px solid #021f4d">Text here</div>
#021f4d Color on white background
This is how a font and box color of #021f4d will look
on a white background.
#021f4d Color on black background
This is how a font and box color of #021f4d hex color will look
on a black background.