In RGB color space, #021f8f hex color has a red value of 2, a green value of 31 and a blue value of 143.
In CMYK color space (used in color printing), #021f8f hex color is composed of 98.6% cyan, 78.32% magenta, 0% yellow and 43.92% black.
#021f8f color has a hue of 227.7 degrees, a saturation of 97.24% and a lightness of 28.4%.
#021f8f hex color contains mainly BLUE.
The closest web safe color of #021f8f is #003399
#021f8f hex color has a decimal value of 139151.
HEX | 021f8f | #021f8f |
---|---|---|
RGB | 2, 31, 143 | rgb(2, 31, 143) |
RGB Percent | 0.78, 12.16, 56.08 | rgb(0.78, 12.16, 56.08) |
CMYK | 99, 78, 0, 44 | |
HSL | 227.7°, 97.24, 28.4 | hsl(227.7, 97.24%, 28.4%) |
HSV | 227.7°, 98.6, 56.1 |
XYZ | 5.473, 2.976, 26.273 |
---|---|
Hunter Lab | 17.251, 26.441, -78.222 |
CIE-LAB | 19.948, 38.132, -62.534 |
CIE-LCH | 19.948, 73.243, 301.374 |
CIE-LUV | 98.6, 78.32, 0, 43.92 |
Web Safe | 003399 |
RGB percent of color #021f8f
CMYK percent of color #021f8f
Text with hexadecimal color #021f8f
This text has a font color of #021f8f
<p style="color:#021f8f">Text here</p>
#021f8f Background Color
This box has a background color of #021f8f
<div style="background-color:#021f8f">Text here</div>
#021f8f Border Color
This box has a border color of #021f8f
<div style="border: 4px solid #021f8f">Text here</div>
CSS codes
<p style="color:#021f8f">Text here</p>
<div style="background-color:#021f8f">Text here</div>
<div style="border: 4px solid #021f8f">Text here</div>
#021f8f Color on white background
This is how a font and box color of #021f8f will look
on a white background.
#021f8f Color on black background
This is how a font and box color of #021f8f hex color will look
on a black background.