In RGB color space, #021ba8 hex color has a red value of 2, a green value of 27 and a blue value of 168.
In CMYK color space (used in color printing), #021ba8 hex color is composed of 98.81% cyan, 83.93% magenta, 0% yellow and 34.12% black.
#021ba8 color has a hue of 231 degrees, a saturation of 97.65% and a lightness of 33.3%.
#021ba8 hex color contains mainly BLUE.
The closest web safe color of #021ba8 is #003399
#021ba8 hex color has a decimal value of 138152.
HEX | 021ba8 | #021ba8 |
---|---|---|
RGB | 2, 27, 168 | rgb(2, 27, 168) |
RGB Percent | 0.78, 10.59, 65.88 | rgb(0.78, 10.59, 65.88) |
CMYK | 99, 84, 0, 34 | |
HSL | 231°, 97.65, 33.3 | hsl(231, 97.65%, 33.3%) |
HSV | 231°, 98.8, 65.9 |
XYZ | 7.485, 3.624, 37.351 |
---|---|
Hunter Lab | 19.037, 36.869, -103.004 |
CIE-LAB | 22.387, 48.854, -73.82 |
CIE-LCH | 22.387, 88.522, 303.497 |
CIE-LUV | 98.81, 83.93, 0, 34.12 |
Web Safe | 003399 |
RGB percent of color #021ba8
CMYK percent of color #021ba8
Text with hexadecimal color #021ba8
This text has a font color of #021ba8
<p style="color:#021ba8">Text here</p>
#021ba8 Background Color
This box has a background color of #021ba8
<div style="background-color:#021ba8">Text here</div>
#021ba8 Border Color
This box has a border color of #021ba8
<div style="border: 4px solid #021ba8">Text here</div>
CSS codes
<p style="color:#021ba8">Text here</p>
<div style="background-color:#021ba8">Text here</div>
<div style="border: 4px solid #021ba8">Text here</div>
#021ba8 Color on white background
This is how a font and box color of #021ba8 will look
on a white background.
#021ba8 Color on black background
This is how a font and box color of #021ba8 hex color will look
on a black background.