In RGB color space, #021c42 hex color has a red value of 2, a green value of 28 and a blue value of 66.
In CMYK color space (used in color printing), #021c42 hex color is composed of 96.97% cyan, 57.58% magenta, 0% yellow and 74.12% black.
#021c42 color has a hue of 215.6 degrees, a saturation of 94.12% and a lightness of 13.3%.
#021c42 hex color contains mainly BLUE.
The closest web safe color of #021c42 is #003333
#021c42 hex color has a decimal value of 138306.
HEX | 021c42 | #021c42 |
---|---|---|
RGB | 2, 28, 66 | rgb(2, 28, 66) |
RGB Percent | 0.78, 10.98, 25.88 | rgb(0.78, 10.98, 25.88) |
CMYK | 97, 58, 0, 74 | |
HSL | 215.6°, 94.12, 13.3 | hsl(215.6, 94.12%, 13.3%) |
HSV | 215.6°, 97, 25.9 |
XYZ | 1.424, 1.237, 5.318 |
---|---|
Hunter Lab | 11.122, 3.39, -20.564 |
CIE-LAB | 10.828, 7.625, -26.853 |
CIE-LCH | 10.828, 27.915, 285.852 |
CIE-LUV | 96.97, 57.58, 0, 74.12 |
Web Safe | 003333 |
RGB percent of color #021c42
CMYK percent of color #021c42
Text with hexadecimal color #021c42
This text has a font color of #021c42
<p style="color:#021c42">Text here</p>
#021c42 Background Color
This box has a background color of #021c42
<div style="background-color:#021c42">Text here</div>
#021c42 Border Color
This box has a border color of #021c42
<div style="border: 4px solid #021c42">Text here</div>
CSS codes
<p style="color:#021c42">Text here</p>
<div style="background-color:#021c42">Text here</div>
<div style="border: 4px solid #021c42">Text here</div>
#021c42 Color on white background
This is how a font and box color of #021c42 will look
on a white background.
#021c42 Color on black background
This is how a font and box color of #021c42 hex color will look
on a black background.