In RGB color space, #0c0c31 hex color has a red value of 12, a green value of 12 and a blue value of 49.
In CMYK color space (used in color printing), #0c0c31 hex color is composed of 75.51% cyan, 75.51% magenta, 0% yellow and 80.78% black.
#0c0c31 color has a hue of 240 degrees, a saturation of 60.66% and a lightness of 12%.
#0c0c31 hex color contains mainly BLUE.
The closest web safe color of #0c0c31 is #000033
#0c0c31 hex color has a decimal value of 789553.
HEX | 0c0c31 | #0c0c31 |
---|---|---|
RGB | 12, 12, 49 | rgb(12, 12, 49) |
RGB Percent | 4.71, 4.71, 19.22 | rgb(4.71, 4.71, 19.22) |
CMYK | 76, 76, 0, 81 | |
HSL | 240°, 60.66, 12 | hsl(240, 60.66%, 12%) |
HSV | 240°, 75.5, 19.2 |
XYZ | 0.837, 0.563, 2.97 |
---|---|
Hunter Lab | 7.503, 6.781, -18.216 |
CIE-LAB | 5.086, 12.366, -23.85 |
CIE-LCH | 5.086, 26.865, 297.406 |
CIE-LUV | 75.51, 75.51, 0, 80.78 |
Web Safe | 000033 |
RGB percent of color #0c0c31
CMYK percent of color #0c0c31
Text with hexadecimal color #0c0c31
This text has a font color of #0c0c31
<p style="color:#0c0c31">Text here</p>
#0c0c31 Background Color
This box has a background color of #0c0c31
<div style="background-color:#0c0c31">Text here</div>
#0c0c31 Border Color
This box has a border color of #0c0c31
<div style="border: 4px solid #0c0c31">Text here</div>
CSS codes
<p style="color:#0c0c31">Text here</p>
<div style="background-color:#0c0c31">Text here</div>
<div style="border: 4px solid #0c0c31">Text here</div>
#0c0c31 Color on white background
This is how a font and box color of #0c0c31 will look
on a white background.
#0c0c31 Color on black background
This is how a font and box color of #0c0c31 hex color will look
on a black background.