In RGB color space, #021ba5 hex color has a red value of 2, a green value of 27 and a blue value of 165.
In CMYK color space (used in color printing), #021ba5 hex color is composed of 98.79% cyan, 83.64% magenta, 0% yellow and 35.29% black.
#021ba5 color has a hue of 230.8 degrees, a saturation of 97.6% and a lightness of 32.7%.
#021ba5 hex color contains mainly BLUE.
The closest web safe color of #021ba5 is #003399
#021ba5 hex color has a decimal value of 138149.
HEX | 021ba5 | #021ba5 |
---|---|---|
RGB | 2, 27, 165 | rgb(2, 27, 165) |
RGB Percent | 0.78, 10.59, 64.71 | rgb(0.78, 10.59, 64.71) |
CMYK | 99, 84, 0, 35 | |
HSL | 230.8°, 97.6, 32.7 | hsl(230.8, 97.6%, 32.7%) |
HSV | 230.8°, 98.8, 64.7 |
XYZ | 7.208, 3.513, 35.896 |
---|---|
Hunter Lab | 18.743, 35.846, -100.43 |
CIE-LAB | 21.991, 47.883, -72.661 |
CIE-LCH | 21.991, 87.02, 303.385 |
CIE-LUV | 98.79, 83.64, 0, 35.29 |
Web Safe | 003399 |
RGB percent of color #021ba5
CMYK percent of color #021ba5
Text with hexadecimal color #021ba5
This text has a font color of #021ba5
<p style="color:#021ba5">Text here</p>
#021ba5 Background Color
This box has a background color of #021ba5
<div style="background-color:#021ba5">Text here</div>
#021ba5 Border Color
This box has a border color of #021ba5
<div style="border: 4px solid #021ba5">Text here</div>
CSS codes
<p style="color:#021ba5">Text here</p>
<div style="background-color:#021ba5">Text here</div>
<div style="border: 4px solid #021ba5">Text here</div>
#021ba5 Color on white background
This is how a font and box color of #021ba5 will look
on a white background.
#021ba5 Color on black background
This is how a font and box color of #021ba5 hex color will look
on a black background.