In RGB color space, #021f6d hex color has a red value of 2, a green value of 31 and a blue value of 109.
In CMYK color space (used in color printing), #021f6d hex color is composed of 98.17% cyan, 71.56% magenta, 0% yellow and 57.25% black.
#021f6d color has a hue of 223.7 degrees, a saturation of 96.4% and a lightness of 21.8%.
#021f6d hex color contains mainly BLUE.
The closest web safe color of #021f6d is #003366
#021f6d hex color has a decimal value of 139117.
HEX | 021f6d | #021f6d |
---|---|---|
RGB | 2, 31, 109 | rgb(2, 31, 109) |
RGB Percent | 0.78, 12.16, 42.75 | rgb(0.78, 12.16, 42.75) |
CMYK | 98, 72, 0, 57 | |
HSL | 223.7°, 96.4, 21.8 | hsl(223.7, 96.4%, 21.8%) |
HSV | 223.7°, 98.2, 42.7 |
XYZ | 3.275, 2.097, 14.7 |
---|---|
Hunter Lab | 14.481, 15.027, -50.05 |
CIE-LAB | 15.988, 24.822, -47.448 |
CIE-LCH | 15.988, 53.549, 297.616 |
CIE-LUV | 98.17, 71.56, 0, 57.25 |
Web Safe | 003366 |
RGB percent of color #021f6d
CMYK percent of color #021f6d
Text with hexadecimal color #021f6d
This text has a font color of #021f6d
<p style="color:#021f6d">Text here</p>
#021f6d Background Color
This box has a background color of #021f6d
<div style="background-color:#021f6d">Text here</div>
#021f6d Border Color
This box has a border color of #021f6d
<div style="border: 4px solid #021f6d">Text here</div>
CSS codes
<p style="color:#021f6d">Text here</p>
<div style="background-color:#021f6d">Text here</div>
<div style="border: 4px solid #021f6d">Text here</div>
#021f6d Color on white background
This is how a font and box color of #021f6d will look
on a white background.
#021f6d Color on black background
This is how a font and box color of #021f6d hex color will look
on a black background.