In RGB color space, #021b8c hex color has a red value of 2, a green value of 27 and a blue value of 140.
In CMYK color space (used in color printing), #021b8c hex color is composed of 98.57% cyan, 80.71% magenta, 0% yellow and 45.1% black.
#021b8c color has a hue of 229.1 degrees, a saturation of 97.18% and a lightness of 27.8%.
#021b8c hex color contains mainly BLUE.
The closest web safe color of #021b8c is #003399
#021b8c hex color has a decimal value of 138124.
HEX | 021b8c | #021b8c |
---|---|---|
RGB | 2, 27, 140 | rgb(2, 27, 140) |
RGB Percent | 0.78, 10.59, 54.9 | rgb(0.78, 10.59, 54.9) |
CMYK | 99, 81, 0, 45 | |
HSL | 229.1°, 97.18, 27.8 | hsl(229.1, 97.18%, 27.8%) |
HSV | 229.1°, 98.6, 54.9 |
XYZ | 5.151, 2.69, 25.059 |
---|---|
Hunter Lab | 16.401, 27.358, -79.107 |
CIE-LAB | 18.757, 39.4, -62.639 |
CIE-LCH | 18.757, 74, 302.17 |
CIE-LUV | 98.57, 80.71, 0, 45.1 |
Web Safe | 003399 |
RGB percent of color #021b8c
CMYK percent of color #021b8c
Text with hexadecimal color #021b8c
This text has a font color of #021b8c
<p style="color:#021b8c">Text here</p>
#021b8c Background Color
This box has a background color of #021b8c
<div style="background-color:#021b8c">Text here</div>
#021b8c Border Color
This box has a border color of #021b8c
<div style="border: 4px solid #021b8c">Text here</div>
CSS codes
<p style="color:#021b8c">Text here</p>
<div style="background-color:#021b8c">Text here</div>
<div style="border: 4px solid #021b8c">Text here</div>
#021b8c Color on white background
This is how a font and box color of #021b8c will look
on a white background.
#021b8c Color on black background
This is how a font and box color of #021b8c hex color will look
on a black background.