In RGB color space, #021f8a hex color has a red value of 2, a green value of 31 and a blue value of 138.
In CMYK color space (used in color printing), #021f8a hex color is composed of 98.55% cyan, 77.54% magenta, 0% yellow and 45.88% black.
#021f8a color has a hue of 227.2 degrees, a saturation of 97.14% and a lightness of 27.5%.
#021f8a hex color contains mainly BLUE.
The closest web safe color of #021f8a is #003399
#021f8a hex color has a decimal value of 139146.
HEX | 021f8a | #021f8a |
---|---|---|
RGB | 2, 31, 138 | rgb(2, 31, 138) |
RGB Percent | 0.78, 12.16, 54.12 | rgb(0.78, 12.16, 54.12) |
CMYK | 99, 78, 0, 46 | |
HSL | 227.2°, 97.14, 27.5 | hsl(227.2, 97.14%, 27.5%) |
HSV | 227.2°, 98.6, 54.1 |
XYZ | 5.102, 2.828, 24.322 |
---|---|
Hunter Lab | 16.817, 24.726, -73.98 |
CIE-LAB | 19.341, 36.279, -60.417 |
CIE-LCH | 19.341, 70.473, 300.984 |
CIE-LUV | 98.55, 77.54, 0, 45.88 |
Web Safe | 003399 |
RGB percent of color #021f8a
CMYK percent of color #021f8a
Text with hexadecimal color #021f8a
This text has a font color of #021f8a
<p style="color:#021f8a">Text here</p>
#021f8a Background Color
This box has a background color of #021f8a
<div style="background-color:#021f8a">Text here</div>
#021f8a Border Color
This box has a border color of #021f8a
<div style="border: 4px solid #021f8a">Text here</div>
CSS codes
<p style="color:#021f8a">Text here</p>
<div style="background-color:#021f8a">Text here</div>
<div style="border: 4px solid #021f8a">Text here</div>
#021f8a Color on white background
This is how a font and box color of #021f8a will look
on a white background.
#021f8a Color on black background
This is how a font and box color of #021f8a hex color will look
on a black background.