In RGB color space, #0c21a8 hex color has a red value of 12, a green value of 33 and a blue value of 168.
In CMYK color space (used in color printing), #0c21a8 hex color is composed of 92.86% cyan, 80.36% magenta, 0% yellow and 34.12% black.
#0c21a8 color has a hue of 231.9 degrees, a saturation of 86.67% and a lightness of 35.3%.
#0c21a8 hex color contains mainly BLUE.
The closest web safe color of #0c21a8 is #003399
#0c21a8 hex color has a decimal value of 795048.
HEX | 0c21a8 | #0c21a8 |
---|---|---|
RGB | 12, 33, 168 | rgb(12, 33, 168) |
RGB Percent | 4.71, 12.94, 65.88 | rgb(4.71, 12.94, 65.88) |
CMYK | 93, 80, 0, 34 | |
HSL | 231.9°, 86.67, 35.3 | hsl(231.9, 86.67%, 35.3%) |
HSV | 231.9°, 92.9, 65.9 |
XYZ | 7.763, 3.993, 37.407 |
---|---|
Hunter Lab | 19.982, 34.376, -97.002 |
CIE-LAB | 23.648, 46.039, -71.716 |
CIE-LCH | 23.648, 85.222, 302.699 |
CIE-LUV | 92.86, 80.36, 0, 34.12 |
Web Safe | 003399 |
RGB percent of color #0c21a8
CMYK percent of color #0c21a8
Text with hexadecimal color #0c21a8
This text has a font color of #0c21a8
<p style="color:#0c21a8">Text here</p>
#0c21a8 Background Color
This box has a background color of #0c21a8
<div style="background-color:#0c21a8">Text here</div>
#0c21a8 Border Color
This box has a border color of #0c21a8
<div style="border: 4px solid #0c21a8">Text here</div>
CSS codes
<p style="color:#0c21a8">Text here</p>
<div style="background-color:#0c21a8">Text here</div>
<div style="border: 4px solid #0c21a8">Text here</div>
#0c21a8 Color on white background
This is how a font and box color of #0c21a8 will look
on a white background.
#0c21a8 Color on black background
This is how a font and box color of #0c21a8 hex color will look
on a black background.