In RGB color space, #021540 hex color has a red value of 2, a green value of 21 and a blue value of 64.
In CMYK color space (used in color printing), #021540 hex color is composed of 96.88% cyan, 67.19% magenta, 0% yellow and 74.9% black.
#021540 color has a hue of 221.6 degrees, a saturation of 93.94% and a lightness of 12.9%.
#021540 hex color contains mainly BLUE.
The closest web safe color of #021540 is #000033
#021540 hex color has a decimal value of 136512.
HEX | 021540 | #021540 |
---|---|---|
RGB | 2, 21, 64 | rgb(2, 21, 64) |
RGB Percent | 0.78, 8.24, 25.1 | rgb(0.78, 8.24, 25.1) |
CMYK | 97, 67, 0, 75 | |
HSL | 221.6°, 93.94, 12.9 | hsl(221.6, 93.94%, 12.9%) |
HSV | 221.6°, 96.9, 25.1 |
XYZ | 1.219, 0.919, 4.964 |
---|---|
Hunter Lab | 9.586, 5.922, -23.991 |
CIE-LAB | 8.298, 12.307, -29.555 |
CIE-LCH | 8.298, 32.015, 292.607 |
CIE-LUV | 96.88, 67.19, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #021540
CMYK percent of color #021540
Text with hexadecimal color #021540
This text has a font color of #021540
<p style="color:#021540">Text here</p>
#021540 Background Color
This box has a background color of #021540
<div style="background-color:#021540">Text here</div>
#021540 Border Color
This box has a border color of #021540
<div style="border: 4px solid #021540">Text here</div>
CSS codes
<p style="color:#021540">Text here</p>
<div style="background-color:#021540">Text here</div>
<div style="border: 4px solid #021540">Text here</div>
#021540 Color on white background
This is how a font and box color of #021540 will look
on a white background.
#021540 Color on black background
This is how a font and box color of #021540 hex color will look
on a black background.