In RGB color space, #0c2caa hex color has a red value of 12, a green value of 44 and a blue value of 170.
In CMYK color space (used in color printing), #0c2caa hex color is composed of 92.94% cyan, 74.12% magenta, 0% yellow and 33.33% black.
#0c2caa color has a hue of 227.8 degrees, a saturation of 86.81% and a lightness of 35.7%.
#0c2caa hex color contains mainly BLUE.
The closest web safe color of #0c2caa is #003399
#0c2caa hex color has a decimal value of 797866.
HEX | 0c2caa | #0c2caa |
---|---|---|
RGB | 12, 44, 170 | rgb(12, 44, 170) |
RGB Percent | 4.71, 17.25, 66.67 | rgb(4.71, 17.25, 66.67) |
CMYK | 93, 74, 0, 33 | |
HSL | 227.8°, 86.81, 35.7 | hsl(227.8, 86.81%, 35.7%) |
HSV | 227.8°, 92.9, 66.7 |
XYZ | 8.308, 4.782, 38.515 |
---|---|
Hunter Lab | 21.868, 29.547, -89.118 |
CIE-LAB | 26.104, 40.415, -68.851 |
CIE-LCH | 26.104, 79.836, 300.413 |
CIE-LUV | 92.94, 74.12, 0, 33.33 |
Web Safe | 003399 |
RGB percent of color #0c2caa
CMYK percent of color #0c2caa
Text with hexadecimal color #0c2caa
This text has a font color of #0c2caa
<p style="color:#0c2caa">Text here</p>
#0c2caa Background Color
This box has a background color of #0c2caa
<div style="background-color:#0c2caa">Text here</div>
#0c2caa Border Color
This box has a border color of #0c2caa
<div style="border: 4px solid #0c2caa">Text here</div>
CSS codes
<p style="color:#0c2caa">Text here</p>
<div style="background-color:#0c2caa">Text here</div>
<div style="border: 4px solid #0c2caa">Text here</div>
#0c2caa Color on white background
This is how a font and box color of #0c2caa will look
on a white background.
#0c2caa Color on black background
This is how a font and box color of #0c2caa hex color will look
on a black background.