In RGB color space, #021f9b hex color has a red value of 2, a green value of 31 and a blue value of 155.
In CMYK color space (used in color printing), #021f9b hex color is composed of 98.71% cyan, 80% magenta, 0% yellow and 39.22% black.
#021f9b color has a hue of 228.6 degrees, a saturation of 97.45% and a lightness of 30.8%.
#021f9b hex color contains mainly BLUE.
The closest web safe color of #021f9b is #003399
#021f9b hex color has a decimal value of 139163.
HEX | 021f9b | #021f9b |
---|---|---|
RGB | 2, 31, 155 | rgb(2, 31, 155) |
RGB Percent | 0.78, 12.16, 60.78 | rgb(0.78, 12.16, 60.78) |
CMYK | 99, 80, 0, 39 | |
HSL | 228.6°, 97.45, 30.8 | hsl(228.6, 97.45%, 30.8%) |
HSV | 228.6°, 98.7, 60.8 |
XYZ | 6.431, 3.359, 31.32 |
---|---|
Hunter Lab | 18.328, 30.561, -88.491 |
CIE-LAB | 21.428, 42.416, -67.493 |
CIE-LCH | 21.428, 79.715, 302.147 |
CIE-LUV | 98.71, 80, 0, 39.22 |
Web Safe | 003399 |
RGB percent of color #021f9b
CMYK percent of color #021f9b
Text with hexadecimal color #021f9b
This text has a font color of #021f9b
<p style="color:#021f9b">Text here</p>
#021f9b Background Color
This box has a background color of #021f9b
<div style="background-color:#021f9b">Text here</div>
#021f9b Border Color
This box has a border color of #021f9b
<div style="border: 4px solid #021f9b">Text here</div>
CSS codes
<p style="color:#021f9b">Text here</p>
<div style="background-color:#021f9b">Text here</div>
<div style="border: 4px solid #021f9b">Text here</div>
#021f9b Color on white background
This is how a font and box color of #021f9b will look
on a white background.
#021f9b Color on black background
This is how a font and box color of #021f9b hex color will look
on a black background.