In RGB color space, #021f6c hex color has a red value of 2, a green value of 31 and a blue value of 108.
In CMYK color space (used in color printing), #021f6c hex color is composed of 98.15% cyan, 71.3% magenta, 0% yellow and 57.65% black.
#021f6c color has a hue of 223.6 degrees, a saturation of 96.36% and a lightness of 21.6%.
#021f6c hex color contains mainly BLUE.
The closest web safe color of #021f6c is #003366
#021f6c hex color has a decimal value of 139116.
HEX | 021f6c | #021f6c |
---|---|---|
RGB | 2, 31, 108 | rgb(2, 31, 108) |
RGB Percent | 0.78, 12.16, 42.35 | rgb(0.78, 12.16, 42.35) |
CMYK | 98, 71, 0, 58 | |
HSL | 223.6°, 96.36, 21.6 | hsl(223.6, 96.36%, 21.6%) |
HSV | 223.6°, 98.1, 42.4 |
XYZ | 3.222, 2.076, 14.418 |
---|---|
Hunter Lab | 14.408, 14.702, -49.244 |
CIE-LAB | 15.881, 24.401, -46.973 |
CIE-LCH | 15.881, 52.933, 297.45 |
CIE-LUV | 98.15, 71.3, 0, 57.65 |
Web Safe | 003366 |
RGB percent of color #021f6c
CMYK percent of color #021f6c
Text with hexadecimal color #021f6c
This text has a font color of #021f6c
<p style="color:#021f6c">Text here</p>
#021f6c Background Color
This box has a background color of #021f6c
<div style="background-color:#021f6c">Text here</div>
#021f6c Border Color
This box has a border color of #021f6c
<div style="border: 4px solid #021f6c">Text here</div>
CSS codes
<p style="color:#021f6c">Text here</p>
<div style="background-color:#021f6c">Text here</div>
<div style="border: 4px solid #021f6c">Text here</div>
#021f6c Color on white background
This is how a font and box color of #021f6c will look
on a white background.
#021f6c Color on black background
This is how a font and box color of #021f6c hex color will look
on a black background.