In RGB color space, #021f40 hex color has a red value of 2, a green value of 31 and a blue value of 64.
In CMYK color space (used in color printing), #021f40 hex color is composed of 96.88% cyan, 51.56% magenta, 0% yellow and 74.9% black.
#021f40 color has a hue of 211.9 degrees, a saturation of 93.94% and a lightness of 12.9%.
#021f40 hex color contains mainly BLUE.
The closest web safe color of #021f40 is #003333
#021f40 hex color has a decimal value of 139072.
HEX | 021f40 | #021f40 |
---|---|---|
RGB | 2, 31, 64 | rgb(2, 31, 64) |
RGB Percent | 0.78, 12.16, 25.1 | rgb(0.78, 12.16, 25.1) |
CMYK | 97, 52, 0, 75 | |
HSL | 211.9°, 93.94, 12.9 | hsl(211.9, 93.94%, 12.9%) |
HSV | 211.9°, 96.9, 25.1 |
XYZ | 1.44, 1.363, 5.038 |
---|---|
Hunter Lab | 11.675, 1.586, -17.413 |
CIE-LAB | 11.709, 4.285, -24.026 |
CIE-LCH | 11.709, 24.405, 280.112 |
CIE-LUV | 96.88, 51.56, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #021f40
CMYK percent of color #021f40
Text with hexadecimal color #021f40
This text has a font color of #021f40
<p style="color:#021f40">Text here</p>
#021f40 Background Color
This box has a background color of #021f40
<div style="background-color:#021f40">Text here</div>
#021f40 Border Color
This box has a border color of #021f40
<div style="border: 4px solid #021f40">Text here</div>
CSS codes
<p style="color:#021f40">Text here</p>
<div style="background-color:#021f40">Text here</div>
<div style="border: 4px solid #021f40">Text here</div>
#021f40 Color on white background
This is how a font and box color of #021f40 will look
on a white background.
#021f40 Color on black background
This is how a font and box color of #021f40 hex color will look
on a black background.