In RGB color space, #0c0c7f hex color has a red value of 12, a green value of 12 and a blue value of 127.
In CMYK color space (used in color printing), #0c0c7f hex color is composed of 90.55% cyan, 90.55% magenta, 0% yellow and 50.2% black.
#0c0c7f color has a hue of 240 degrees, a saturation of 82.73% and a lightness of 27.3%.
#0c0c7f hex color contains mainly BLUE.
The closest web safe color of #0c0c7f is #000066
#0c0c7f hex color has a decimal value of 789631.
HEX | 0c0c7f | #0c0c7f |
---|---|---|
RGB | 12, 12, 127 | rgb(12, 12, 127) |
RGB Percent | 4.71, 4.71, 49.8 | rgb(4.71, 4.71, 49.8) |
CMYK | 91, 91, 0, 50 | |
HSL | 240°, 82.73, 27.3 | hsl(240, 82.73%, 27.3%) |
HSV | 240°, 90.6, 49.8 |
XYZ | 4.114, 1.873, 20.223 |
---|---|
Hunter Lab | 13.686, 29.708, -78.031 |
CIE-LAB | 14.806, 42.769, -60.996 |
CIE-LCH | 14.806, 74.496, 305.037 |
CIE-LUV | 90.55, 90.55, 0, 50.2 |
Web Safe | 000066 |
RGB percent of color #0c0c7f
CMYK percent of color #0c0c7f
Text with hexadecimal color #0c0c7f
This text has a font color of #0c0c7f
<p style="color:#0c0c7f">Text here</p>
#0c0c7f Background Color
This box has a background color of #0c0c7f
<div style="background-color:#0c0c7f">Text here</div>
#0c0c7f Border Color
This box has a border color of #0c0c7f
<div style="border: 4px solid #0c0c7f">Text here</div>
CSS codes
<p style="color:#0c0c7f">Text here</p>
<div style="background-color:#0c0c7f">Text here</div>
<div style="border: 4px solid #0c0c7f">Text here</div>
#0c0c7f Color on white background
This is how a font and box color of #0c0c7f will look
on a white background.
#0c0c7f Color on black background
This is how a font and box color of #0c0c7f hex color will look
on a black background.