In RGB color space, #021b5b hex color has a red value of 2, a green value of 27 and a blue value of 91.
In CMYK color space (used in color printing), #021b5b hex color is composed of 97.8% cyan, 70.33% magenta, 0% yellow and 64.31% black.
#021b5b color has a hue of 223.1 degrees, a saturation of 95.7% and a lightness of 18.2%.
#021b5b hex color contains mainly BLUE.
The closest web safe color of #021b5b is #003366
#021b5b hex color has a decimal value of 138075.
HEX | 021b5b | #021b5b |
---|---|---|
RGB | 2, 27, 91 | rgb(2, 27, 91) |
RGB Percent | 0.78, 10.59, 35.69 | rgb(0.78, 10.59, 35.69) |
CMYK | 98, 70, 0, 64 | |
HSL | 223.1°, 95.7, 18.2 | hsl(223.1, 95.7%, 18.2%) |
HSV | 223.1°, 97.8, 35.7 |
XYZ | 2.305, 1.552, 10.076 |
---|---|
Hunter Lab | 12.458, 11.225, -39.233 |
CIE-LAB | 12.935, 20.007, -40.576 |
CIE-LCH | 12.935, 45.24, 296.247 |
CIE-LUV | 97.8, 70.33, 0, 64.31 |
Web Safe | 003366 |
RGB percent of color #021b5b
CMYK percent of color #021b5b
Text with hexadecimal color #021b5b
This text has a font color of #021b5b
<p style="color:#021b5b">Text here</p>
#021b5b Background Color
This box has a background color of #021b5b
<div style="background-color:#021b5b">Text here</div>
#021b5b Border Color
This box has a border color of #021b5b
<div style="border: 4px solid #021b5b">Text here</div>
CSS codes
<p style="color:#021b5b">Text here</p>
<div style="background-color:#021b5b">Text here</div>
<div style="border: 4px solid #021b5b">Text here</div>
#021b5b Color on white background
This is how a font and box color of #021b5b will look
on a white background.
#021b5b Color on black background
This is how a font and box color of #021b5b hex color will look
on a black background.