In RGB color space, #0c0c8e hex color has a red value of 12, a green value of 12 and a blue value of 142.
In CMYK color space (used in color printing), #0c0c8e hex color is composed of 91.55% cyan, 91.55% magenta, 0% yellow and 44.31% black.
#0c0c8e color has a hue of 240 degrees, a saturation of 84.42% and a lightness of 30.2%.
#0c0c8e hex color contains mainly BLUE.
The closest web safe color of #0c0c8e is #000099
#0c0c8e hex color has a decimal value of 789646.
HEX | 0c0c8e | #0c0c8e |
---|---|---|
RGB | 12, 12, 142 | rgb(12, 12, 142) |
RGB Percent | 4.71, 4.71, 55.69 | rgb(4.71, 4.71, 55.69) |
CMYK | 92, 92, 0, 44 | |
HSL | 240°, 84.42, 30.2 | hsl(240, 84.42%, 30.2%) |
HSV | 240°, 91.5, 55.7 |
XYZ | 5.166, 2.294, 25.762 |
---|---|
Hunter Lab | 15.146, 34.378, -90.245 |
CIE-LAB | 16.96, 47.328, -66.872 |
CIE-LCH | 16.96, 81.926, 305.289 |
CIE-LUV | 91.55, 91.55, 0, 44.31 |
Web Safe | 000099 |
RGB percent of color #0c0c8e
CMYK percent of color #0c0c8e
Text with hexadecimal color #0c0c8e
This text has a font color of #0c0c8e
<p style="color:#0c0c8e">Text here</p>
#0c0c8e Background Color
This box has a background color of #0c0c8e
<div style="background-color:#0c0c8e">Text here</div>
#0c0c8e Border Color
This box has a border color of #0c0c8e
<div style="border: 4px solid #0c0c8e">Text here</div>
CSS codes
<p style="color:#0c0c8e">Text here</p>
<div style="background-color:#0c0c8e">Text here</div>
<div style="border: 4px solid #0c0c8e">Text here</div>
#0c0c8e Color on white background
This is how a font and box color of #0c0c8e will look
on a white background.
#0c0c8e Color on black background
This is how a font and box color of #0c0c8e hex color will look
on a black background.