In RGB color space, #0c0c5a hex color has a red value of 12, a green value of 12 and a blue value of 90.
In CMYK color space (used in color printing), #0c0c5a hex color is composed of 86.67% cyan, 86.67% magenta, 0% yellow and 64.71% black.
#0c0c5a color has a hue of 240 degrees, a saturation of 76.47% and a lightness of 20%.
#0c0c5a hex color contains mainly BLUE.
The closest web safe color of #0c0c5a is #000066
#0c0c5a hex color has a decimal value of 789594.
HEX | 0c0c5a | #0c0c5a |
---|---|---|
RGB | 12, 12, 90 | rgb(12, 12, 90) |
RGB Percent | 4.71, 4.71, 35.29 | rgb(4.71, 4.71, 35.29) |
CMYK | 87, 87, 0, 65 | |
HSL | 240°, 76.47, 20 | hsl(240, 76.47%, 20%) |
HSV | 240°, 86.7, 35.3 |
XYZ | 2.129, 1.079, 9.769 |
---|---|
Hunter Lab | 10.387, 18.407, -48.489 |
CIE-LAB | 9.633, 30.458, -45.34 |
CIE-LCH | 9.633, 54.621, 303.892 |
CIE-LUV | 86.67, 86.67, 0, 64.71 |
Web Safe | 000066 |
RGB percent of color #0c0c5a
CMYK percent of color #0c0c5a
Text with hexadecimal color #0c0c5a
This text has a font color of #0c0c5a
<p style="color:#0c0c5a">Text here</p>
#0c0c5a Background Color
This box has a background color of #0c0c5a
<div style="background-color:#0c0c5a">Text here</div>
#0c0c5a Border Color
This box has a border color of #0c0c5a
<div style="border: 4px solid #0c0c5a">Text here</div>
CSS codes
<p style="color:#0c0c5a">Text here</p>
<div style="background-color:#0c0c5a">Text here</div>
<div style="border: 4px solid #0c0c5a">Text here</div>
#0c0c5a Color on white background
This is how a font and box color of #0c0c5a will look
on a white background.
#0c0c5a Color on black background
This is how a font and box color of #0c0c5a hex color will look
on a black background.