In RGB color space, #0c0c5f hex color has a red value of 12, a green value of 12 and a blue value of 95.
In CMYK color space (used in color printing), #0c0c5f hex color is composed of 87.37% cyan, 87.37% magenta, 0% yellow and 62.75% black.
#0c0c5f color has a hue of 240 degrees, a saturation of 77.57% and a lightness of 21%.
#0c0c5f hex color contains mainly BLUE.
The closest web safe color of #0c0c5f is #000066
#0c0c5f hex color has a decimal value of 789599.
HEX | 0c0c5f | #0c0c5f |
---|---|---|
RGB | 12, 12, 95 | rgb(12, 12, 95) |
RGB Percent | 4.71, 4.71, 37.25 | rgb(4.71, 4.71, 37.25) |
CMYK | 87, 87, 0, 63 | |
HSL | 240°, 77.57, 21 | hsl(240, 77.57%, 21%) |
HSV | 240°, 87.4, 37.3 |
XYZ | 2.349, 1.167, 10.928 |
---|---|
Hunter Lab | 10.803, 19.909, -52.415 |
CIE-LAB | 10.312, 32.229, -47.58 |
CIE-LCH | 10.312, 57.468, 304.112 |
CIE-LUV | 87.37, 87.37, 0, 62.75 |
Web Safe | 000066 |
RGB percent of color #0c0c5f
CMYK percent of color #0c0c5f
Text with hexadecimal color #0c0c5f
This text has a font color of #0c0c5f
<p style="color:#0c0c5f">Text here</p>
#0c0c5f Background Color
This box has a background color of #0c0c5f
<div style="background-color:#0c0c5f">Text here</div>
#0c0c5f Border Color
This box has a border color of #0c0c5f
<div style="border: 4px solid #0c0c5f">Text here</div>
CSS codes
<p style="color:#0c0c5f">Text here</p>
<div style="background-color:#0c0c5f">Text here</div>
<div style="border: 4px solid #0c0c5f">Text here</div>
#0c0c5f Color on white background
This is how a font and box color of #0c0c5f will look
on a white background.
#0c0c5f Color on black background
This is how a font and box color of #0c0c5f hex color will look
on a black background.