In RGB color space, #021227 hex color has a red value of 2, a green value of 18 and a blue value of 39.
In CMYK color space (used in color printing), #021227 hex color is composed of 94.87% cyan, 53.85% magenta, 0% yellow and 84.71% black.
#021227 color has a hue of 214.1 degrees, a saturation of 90.24% and a lightness of 8%.
#021227 hex color contains mainly BLUE.
The closest web safe color of #021227 is #000033
#021227 hex color has a decimal value of 135719.
HEX | 021227 | #021227 |
---|---|---|
RGB | 2, 18, 39 | rgb(2, 18, 39) |
RGB Percent | 0.78, 7.06, 15.29 | rgb(0.78, 7.06, 15.29) |
CMYK | 95, 54, 0, 85 | |
HSL | 214.1°, 90.24, 8 | hsl(214.1, 90.24%, 8%) |
HSV | 214.1°, 94.9, 15.3 |
XYZ | 0.608, 0.592, 2.002 |
---|---|
Hunter Lab | 7.694, 0.64, -10.041 |
CIE-LAB | 5.347, 1.857, -15.982 |
CIE-LCH | 5.347, 16.09, 276.628 |
CIE-LUV | 94.87, 53.85, 0, 84.71 |
Web Safe | 000033 |
RGB percent of color #021227
CMYK percent of color #021227
Text with hexadecimal color #021227
This text has a font color of #021227
<p style="color:#021227">Text here</p>
#021227 Background Color
This box has a background color of #021227
<div style="background-color:#021227">Text here</div>
#021227 Border Color
This box has a border color of #021227
<div style="border: 4px solid #021227">Text here</div>
CSS codes
<p style="color:#021227">Text here</p>
<div style="background-color:#021227">Text here</div>
<div style="border: 4px solid #021227">Text here</div>
#021227 Color on white background
This is how a font and box color of #021227 will look
on a white background.
#021227 Color on black background
This is how a font and box color of #021227 hex color will look
on a black background.