In RGB color space, #021a8b hex color has a red value of 2, a green value of 26 and a blue value of 139.
In CMYK color space (used in color printing), #021a8b hex color is composed of 98.56% cyan, 81.29% magenta, 0% yellow and 45.49% black.
#021a8b color has a hue of 229.5 degrees, a saturation of 97.16% and a lightness of 27.6%.
#021a8b hex color contains mainly BLUE.
The closest web safe color of #021a8b is #003399
#021a8b hex color has a decimal value of 137867.
HEX | 021a8b | #021a8b |
---|---|---|
RGB | 2, 26, 139 | rgb(2, 26, 139) |
RGB Percent | 0.78, 10.2, 54.51 | rgb(0.78, 10.2, 54.51) |
CMYK | 99, 81, 0, 45 | |
HSL | 229.5°, 97.16, 27.6 | hsl(229.5, 97.16%, 27.6%) |
HSV | 229.5°, 98.6, 54.5 |
XYZ | 5.055, 2.616, 24.665 |
---|---|
Hunter Lab | 16.174, 27.483, -79.094 |
CIE-LAB | 18.435, 39.604, -62.547 |
CIE-LCH | 18.435, 74.031, 302.341 |
CIE-LUV | 98.56, 81.29, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #021a8b
CMYK percent of color #021a8b
Text with hexadecimal color #021a8b
This text has a font color of #021a8b
<p style="color:#021a8b">Text here</p>
#021a8b Background Color
This box has a background color of #021a8b
<div style="background-color:#021a8b">Text here</div>
#021a8b Border Color
This box has a border color of #021a8b
<div style="border: 4px solid #021a8b">Text here</div>
CSS codes
<p style="color:#021a8b">Text here</p>
<div style="background-color:#021a8b">Text here</div>
<div style="border: 4px solid #021a8b">Text here</div>
#021a8b Color on white background
This is how a font and box color of #021a8b will look
on a white background.
#021a8b Color on black background
This is how a font and box color of #021a8b hex color will look
on a black background.