In RGB color space, #0c21b3 hex color has a red value of 12, a green value of 33 and a blue value of 179.
In CMYK color space (used in color printing), #0c21b3 hex color is composed of 93.3% cyan, 81.56% magenta, 0% yellow and 29.8% black.
#0c21b3 color has a hue of 232.5 degrees, a saturation of 87.43% and a lightness of 37.5%.
#0c21b3 hex color contains mainly BLUE.
The closest web safe color of #0c21b3 is #0033cc
#0c21b3 hex color has a decimal value of 795059.
HEX | 0c21b3 | #0c21b3 |
---|---|---|
RGB | 12, 33, 179 | rgb(12, 33, 179) |
RGB Percent | 4.71, 12.94, 70.2 | rgb(4.71, 12.94, 70.2) |
CMYK | 93, 82, 0, 30 | |
HSL | 232.5°, 87.43, 37.5 | hsl(232.5, 87.43%, 37.5%) |
HSV | 232.5°, 93.3, 70.2 |
XYZ | 8.832, 4.421, 43.036 |
---|---|
Hunter Lab | 21.026, 38.183, -106.635 |
CIE-LAB | 25.017, 49.672, -76.057 |
CIE-LCH | 25.017, 90.84, 303.148 |
CIE-LUV | 93.3, 81.56, 0, 29.8 |
Web Safe | 0033cc |
RGB percent of color #0c21b3
CMYK percent of color #0c21b3
Text with hexadecimal color #0c21b3
This text has a font color of #0c21b3
<p style="color:#0c21b3">Text here</p>
#0c21b3 Background Color
This box has a background color of #0c21b3
<div style="background-color:#0c21b3">Text here</div>
#0c21b3 Border Color
This box has a border color of #0c21b3
<div style="border: 4px solid #0c21b3">Text here</div>
CSS codes
<p style="color:#0c21b3">Text here</p>
<div style="background-color:#0c21b3">Text here</div>
<div style="border: 4px solid #0c21b3">Text here</div>
#0c21b3 Color on white background
This is how a font and box color of #0c21b3 will look
on a white background.
#0c21b3 Color on black background
This is how a font and box color of #0c21b3 hex color will look
on a black background.