In RGB color space, #021b40 hex color has a red value of 2, a green value of 27 and a blue value of 64.
In CMYK color space (used in color printing), #021b40 hex color is composed of 96.88% cyan, 57.81% magenta, 0% yellow and 74.9% black.
#021b40 color has a hue of 215.8 degrees, a saturation of 93.94% and a lightness of 12.9%.
#021b40 hex color contains mainly BLUE.
The closest web safe color of #021b40 is #003333
#021b40 hex color has a decimal value of 138048.
HEX | 021b40 | #021b40 |
---|---|---|
RGB | 2, 27, 64 | rgb(2, 27, 64) |
RGB Percent | 0.78, 10.59, 25.1 | rgb(0.78, 10.59, 25.1) |
CMYK | 97, 58, 0, 75 | |
HSL | 215.8°, 93.94, 12.9 | hsl(215.8, 93.94%, 12.9%) |
HSV | 215.8°, 96.9, 25.1 |
XYZ | 1.342, 1.167, 5.005 |
---|---|
Hunter Lab | 10.803, 3.27, -19.908 |
CIE-LAB | 10.312, 7.436, -26.279 |
CIE-LCH | 10.312, 27.311, 285.8 |
CIE-LUV | 96.88, 57.81, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #021b40
CMYK percent of color #021b40
Text with hexadecimal color #021b40
This text has a font color of #021b40
<p style="color:#021b40">Text here</p>
#021b40 Background Color
This box has a background color of #021b40
<div style="background-color:#021b40">Text here</div>
#021b40 Border Color
This box has a border color of #021b40
<div style="border: 4px solid #021b40">Text here</div>
CSS codes
<p style="color:#021b40">Text here</p>
<div style="background-color:#021b40">Text here</div>
<div style="border: 4px solid #021b40">Text here</div>
#021b40 Color on white background
This is how a font and box color of #021b40 will look
on a white background.
#021b40 Color on black background
This is how a font and box color of #021b40 hex color will look
on a black background.