In RGB color space, #0c2c8f hex color has a red value of 12, a green value of 44 and a blue value of 143.
In CMYK color space (used in color printing), #0c2c8f hex color is composed of 91.61% cyan, 69.23% magenta, 0% yellow and 43.92% black.
#0c2c8f color has a hue of 225.3 degrees, a saturation of 84.52% and a lightness of 30.4%.
#0c2c8f hex color contains mainly BLUE.
The closest web safe color of #0c2c8f is #003399
#0c2c8f hex color has a decimal value of 797839.
HEX | 0c2c8f | #0c2c8f |
---|---|---|
RGB | 12, 44, 143 | rgb(12, 44, 143) |
RGB Percent | 4.71, 17.25, 56.08 | rgb(4.71, 17.25, 56.08) |
CMYK | 92, 69, 0, 44 | |
HSL | 225.3°, 84.52, 30.4 | hsl(225.3, 84.52%, 30.4%) |
HSV | 225.3°, 91.6, 56.1 |
XYZ | 6.01, 3.863, 26.415 |
---|---|
Hunter Lab | 19.655, 20.187, -65.926 |
CIE-LAB | 23.213, 30.174, -57.127 |
CIE-LCH | 23.213, 64.606, 297.843 |
CIE-LUV | 91.61, 69.23, 0, 43.92 |
Web Safe | 003399 |
RGB percent of color #0c2c8f
CMYK percent of color #0c2c8f
Text with hexadecimal color #0c2c8f
This text has a font color of #0c2c8f
<p style="color:#0c2c8f">Text here</p>
#0c2c8f Background Color
This box has a background color of #0c2c8f
<div style="background-color:#0c2c8f">Text here</div>
#0c2c8f Border Color
This box has a border color of #0c2c8f
<div style="border: 4px solid #0c2c8f">Text here</div>
CSS codes
<p style="color:#0c2c8f">Text here</p>
<div style="background-color:#0c2c8f">Text here</div>
<div style="border: 4px solid #0c2c8f">Text here</div>
#0c2c8f Color on white background
This is how a font and box color of #0c2c8f will look
on a white background.
#0c2c8f Color on black background
This is how a font and box color of #0c2c8f hex color will look
on a black background.