In RGB color space, #021faf hex color has a red value of 2, a green value of 31 and a blue value of 175.
In CMYK color space (used in color printing), #021faf hex color is composed of 98.86% cyan, 82.29% magenta, 0% yellow and 31.37% black.
#021faf color has a hue of 229.9 degrees, a saturation of 97.74% and a lightness of 34.7%.
#021faf hex color contains mainly BLUE.
The closest web safe color of #021faf is #003399
#021faf hex color has a decimal value of 139183.
HEX | 021faf | #021faf |
---|---|---|
RGB | 2, 31, 175 | rgb(2, 31, 175) |
RGB Percent | 0.78, 12.16, 68.63 | rgb(0.78, 12.16, 68.63) |
CMYK | 99, 82, 0, 31 | |
HSL | 229.9°, 97.74, 34.7 | hsl(229.9, 97.74%, 34.7%) |
HSV | 229.9°, 98.9, 68.6 |
XYZ | 8.253, 4.088, 40.912 |
---|---|
Hunter Lab | 20.219, 37.478, -105.818 |
CIE-LAB | 23.96, 49.166, -75.423 |
CIE-LCH | 23.96, 90.033, 303.099 |
CIE-LUV | 98.86, 82.29, 0, 31.37 |
Web Safe | 003399 |
RGB percent of color #021faf
CMYK percent of color #021faf
Text with hexadecimal color #021faf
This text has a font color of #021faf
<p style="color:#021faf">Text here</p>
#021faf Background Color
This box has a background color of #021faf
<div style="background-color:#021faf">Text here</div>
#021faf Border Color
This box has a border color of #021faf
<div style="border: 4px solid #021faf">Text here</div>
CSS codes
<p style="color:#021faf">Text here</p>
<div style="background-color:#021faf">Text here</div>
<div style="border: 4px solid #021faf">Text here</div>
#021faf Color on white background
This is how a font and box color of #021faf will look
on a white background.
#021faf Color on black background
This is how a font and box color of #021faf hex color will look
on a black background.