In RGB color space, #021f99 hex color has a red value of 2, a green value of 31 and a blue value of 153.
In CMYK color space (used in color printing), #021f99 hex color is composed of 98.69% cyan, 79.74% magenta, 0% yellow and 40% black.
#021f99 color has a hue of 228.5 degrees, a saturation of 97.42% and a lightness of 30.4%.
#021f99 hex color contains mainly BLUE.
The closest web safe color of #021f99 is #003399
#021f99 hex color has a decimal value of 139161.
HEX | 021f99 | #021f99 |
---|---|---|
RGB | 2, 31, 153 | rgb(2, 31, 153) |
RGB Percent | 0.78, 12.16, 60 | rgb(0.78, 12.16, 60) |
CMYK | 99, 80, 0, 40 | |
HSL | 228.5°, 97.42, 30.4 | hsl(228.5, 97.42%, 30.4%) |
HSV | 228.5°, 98.7, 60 |
XYZ | 6.265, 3.293, 30.442 |
---|---|
Hunter Lab | 18.147, 29.869, -86.76 |
CIE-LAB | 21.181, 41.712, -66.673 |
CIE-LCH | 21.181, 78.646, 302.031 |
CIE-LUV | 98.69, 79.74, 0, 40 |
Web Safe | 003399 |
RGB percent of color #021f99
CMYK percent of color #021f99
Text with hexadecimal color #021f99
This text has a font color of #021f99
<p style="color:#021f99">Text here</p>
#021f99 Background Color
This box has a background color of #021f99
<div style="background-color:#021f99">Text here</div>
#021f99 Border Color
This box has a border color of #021f99
<div style="border: 4px solid #021f99">Text here</div>
CSS codes
<p style="color:#021f99">Text here</p>
<div style="background-color:#021f99">Text here</div>
<div style="border: 4px solid #021f99">Text here</div>
#021f99 Color on white background
This is how a font and box color of #021f99 will look
on a white background.
#021f99 Color on black background
This is how a font and box color of #021f99 hex color will look
on a black background.