In RGB color space, #021f7e hex color has a red value of 2, a green value of 31 and a blue value of 126.
In CMYK color space (used in color printing), #021f7e hex color is composed of 98.41% cyan, 75.4% magenta, 0% yellow and 50.59% black.
#021f7e color has a hue of 226 degrees, a saturation of 96.88% and a lightness of 25.1%.
#021f7e hex color contains mainly BLUE.
The closest web safe color of #021f7e is #003366
#021f7e hex color has a decimal value of 139134.
HEX | 021f7e | #021f7e |
---|---|---|
RGB | 2, 31, 126 | rgb(2, 31, 126) |
RGB Percent | 0.78, 12.16, 49.41 | rgb(0.78, 12.16, 49.41) |
CMYK | 98, 75, 0, 51 | |
HSL | 226°, 96.88, 25.1 | hsl(226, 96.88%, 25.1%) |
HSV | 226°, 98.4, 49.4 |
XYZ | 4.281, 2.499, 19.995 |
---|---|
Hunter Lab | 15.808, 20.675, -63.927 |
CIE-LAB | 17.914, 31.717, -55.207 |
CIE-LCH | 17.914, 63.669, 299.878 |
CIE-LUV | 98.41, 75.4, 0, 50.59 |
Web Safe | 003366 |
RGB percent of color #021f7e
CMYK percent of color #021f7e
Text with hexadecimal color #021f7e
This text has a font color of #021f7e
<p style="color:#021f7e">Text here</p>
#021f7e Background Color
This box has a background color of #021f7e
<div style="background-color:#021f7e">Text here</div>
#021f7e Border Color
This box has a border color of #021f7e
<div style="border: 4px solid #021f7e">Text here</div>
CSS codes
<p style="color:#021f7e">Text here</p>
<div style="background-color:#021f7e">Text here</div>
<div style="border: 4px solid #021f7e">Text here</div>
#021f7e Color on white background
This is how a font and box color of #021f7e will look
on a white background.
#021f7e Color on black background
This is how a font and box color of #021f7e hex color will look
on a black background.