In RGB color space, #021a40 hex color has a red value of 2, a green value of 26 and a blue value of 64.
In CMYK color space (used in color printing), #021a40 hex color is composed of 96.88% cyan, 59.38% magenta, 0% yellow and 74.9% black.
#021a40 color has a hue of 216.8 degrees, a saturation of 93.94% and a lightness of 12.9%.
#021a40 hex color contains mainly BLUE.
The closest web safe color of #021a40 is #003333
#021a40 hex color has a decimal value of 137792.
HEX | 021a40 | #021a40 |
---|---|---|
RGB | 2, 26, 64 | rgb(2, 26, 64) |
RGB Percent | 0.78, 10.2, 25.1 | rgb(0.78, 10.2, 25.1) |
CMYK | 97, 59, 0, 75 | |
HSL | 216.8°, 93.94, 12.9 | hsl(216.8, 93.94%, 12.9%) |
HSV | 216.8°, 96.9, 25.1 |
XYZ | 1.32, 1.122, 4.997 |
---|---|
Hunter Lab | 10.592, 3.707, -20.555 |
CIE-LAB | 9.969, 8.249, -26.831 |
CIE-LCH | 9.969, 28.07, 287.09 |
CIE-LUV | 96.88, 59.38, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #021a40
CMYK percent of color #021a40
Text with hexadecimal color #021a40
This text has a font color of #021a40
<p style="color:#021a40">Text here</p>
#021a40 Background Color
This box has a background color of #021a40
<div style="background-color:#021a40">Text here</div>
#021a40 Border Color
This box has a border color of #021a40
<div style="border: 4px solid #021a40">Text here</div>
CSS codes
<p style="color:#021a40">Text here</p>
<div style="background-color:#021a40">Text here</div>
<div style="border: 4px solid #021a40">Text here</div>
#021a40 Color on white background
This is how a font and box color of #021a40 will look
on a white background.
#021a40 Color on black background
This is how a font and box color of #021a40 hex color will look
on a black background.