In RGB color space, #0c0c8d hex color has a red value of 12, a green value of 12 and a blue value of 141.
In CMYK color space (used in color printing), #0c0c8d hex color is composed of 91.49% cyan, 91.49% magenta, 0% yellow and 44.71% black.
#0c0c8d color has a hue of 240 degrees, a saturation of 84.31% and a lightness of 30%.
#0c0c8d hex color contains mainly BLUE.
The closest web safe color of #0c0c8d is #000099
#0c0c8d hex color has a decimal value of 789645.
HEX | 0c0c8d | #0c0c8d |
---|---|---|
RGB | 12, 12, 141 | rgb(12, 12, 141) |
RGB Percent | 4.71, 4.71, 55.29 | rgb(4.71, 4.71, 55.29) |
CMYK | 91, 91, 0, 45 | |
HSL | 240°, 84.31, 30 | hsl(240, 84.31%, 30%) |
HSV | 240°, 91.5, 55.3 |
XYZ | 5.091, 2.264, 25.368 |
---|---|
Hunter Lab | 15.047, 34.064, -89.428 |
CIE-LAB | 16.816, 47.029, -66.487 |
CIE-LCH | 16.816, 81.439, 305.273 |
CIE-LUV | 91.49, 91.49, 0, 44.71 |
Web Safe | 000099 |
RGB percent of color #0c0c8d
CMYK percent of color #0c0c8d
Text with hexadecimal color #0c0c8d
This text has a font color of #0c0c8d
<p style="color:#0c0c8d">Text here</p>
#0c0c8d Background Color
This box has a background color of #0c0c8d
<div style="background-color:#0c0c8d">Text here</div>
#0c0c8d Border Color
This box has a border color of #0c0c8d
<div style="border: 4px solid #0c0c8d">Text here</div>
CSS codes
<p style="color:#0c0c8d">Text here</p>
<div style="background-color:#0c0c8d">Text here</div>
<div style="border: 4px solid #0c0c8d">Text here</div>
#0c0c8d Color on white background
This is how a font and box color of #0c0c8d will look
on a white background.
#0c0c8d Color on black background
This is how a font and box color of #0c0c8d hex color will look
on a black background.