In RGB color space, #0021b2 hex color has a red value of 0, a green value of 33 and a blue value of 178.
In CMYK color space (used in color printing), #0021b2 hex color is composed of 100% cyan, 81.46% magenta, 0% yellow and 30.2% black.
#0021b2 color has a hue of 228.9 degrees, a saturation of 100% and a lightness of 34.9%.
#0021b2 hex color contains mainly BLUE.
The closest web safe color of #0021b2 is #003399
#0021b2 hex color has a decimal value of 8626.
HEX | 0021b2 | #0021b2 |
---|---|---|
RGB | 0, 33, 178 | rgb(0, 33, 178) |
RGB Percent | 0, 12.94, 69.8 | rgb(0, 12.94, 69.8) |
CMYK | 100, 81, 0, 30 | |
HSL | 228.9°, 100, 34.9 | hsl(228.9, 100%, 34.9%) |
HSV | 228.9°, 100, 69.8 |
XYZ | 8.58, 4.302, 42.498 |
---|---|
Hunter Lab | 20.741, 37.543, -106.964 |
CIE-LAB | 24.646, 49.098, -76.083 |
CIE-LCH | 24.646, 90.55, 302.835 |
CIE-LUV | 100, 81.46, 0, 30.2 |
Web Safe | 003399 |
RGB percent of color #0021b2
CMYK percent of color #0021b2
Text with hexadecimal color #0021b2
This text has a font color of #0021b2
<p style="color:#0021b2">Text here</p>
#0021b2 Background Color
This box has a background color of #0021b2
<div style="background-color:#0021b2">Text here</div>
#0021b2 Border Color
This box has a border color of #0021b2
<div style="border: 4px solid #0021b2">Text here</div>
CSS codes
<p style="color:#0021b2">Text here</p>
<div style="background-color:#0021b2">Text here</div>
<div style="border: 4px solid #0021b2">Text here</div>
#0021b2 Color on white background
This is how a font and box color of #0021b2 will look
on a white background.
#0021b2 Color on black background
This is how a font and box color of #0021b2 hex color will look
on a black background.