In RGB color space, #021f42 hex color has a red value of 2, a green value of 31 and a blue value of 66.
In CMYK color space (used in color printing), #021f42 hex color is composed of 96.97% cyan, 53.03% magenta, 0% yellow and 74.12% black.
#021f42 color has a hue of 212.8 degrees, a saturation of 94.12% and a lightness of 13.3%.
#021f42 hex color contains mainly BLUE.
The closest web safe color of #021f42 is #003333
#021f42 hex color has a decimal value of 139074.
HEX | 021f42 | #021f42 |
---|---|---|
RGB | 2, 31, 66 | rgb(2, 31, 66) |
RGB Percent | 0.78, 12.16, 25.88 | rgb(0.78, 12.16, 25.88) |
CMYK | 97, 53, 0, 74 | |
HSL | 212.8°, 94.12, 13.3 | hsl(212.8, 94.12%, 13.3%) |
HSV | 212.8°, 97, 25.9 |
XYZ | 1.498, 1.386, 5.343 |
---|---|
Hunter Lab | 11.773, 2.11, -18.667 |
CIE-LAB | 11.864, 5.257, -25.18 |
CIE-LCH | 11.864, 25.723, 281.793 |
CIE-LUV | 96.97, 53.03, 0, 74.12 |
Web Safe | 003333 |
RGB percent of color #021f42
CMYK percent of color #021f42
Text with hexadecimal color #021f42
This text has a font color of #021f42
<p style="color:#021f42">Text here</p>
#021f42 Background Color
This box has a background color of #021f42
<div style="background-color:#021f42">Text here</div>
#021f42 Border Color
This box has a border color of #021f42
<div style="border: 4px solid #021f42">Text here</div>
CSS codes
<p style="color:#021f42">Text here</p>
<div style="background-color:#021f42">Text here</div>
<div style="border: 4px solid #021f42">Text here</div>
#021f42 Color on white background
This is how a font and box color of #021f42 will look
on a white background.
#021f42 Color on black background
This is how a font and box color of #021f42 hex color will look
on a black background.