In RGB color space, #0c0c5e hex color has a red value of 12, a green value of 12 and a blue value of 94.
In CMYK color space (used in color printing), #0c0c5e hex color is composed of 87.23% cyan, 87.23% magenta, 0% yellow and 63.14% black.
#0c0c5e color has a hue of 240 degrees, a saturation of 77.36% and a lightness of 20.8%.
#0c0c5e hex color contains mainly BLUE.
The closest web safe color of #0c0c5e is #000066
#0c0c5e hex color has a decimal value of 789598.
HEX | 0c0c5e | #0c0c5e |
---|---|---|
RGB | 12, 12, 94 | rgb(12, 12, 94) |
RGB Percent | 4.71, 4.71, 36.86 | rgb(4.71, 4.71, 36.86) |
CMYK | 87, 87, 0, 63 | |
HSL | 240°, 77.36, 20.8 | hsl(240, 77.36%, 20.8%) |
HSV | 240°, 87.2, 36.9 |
XYZ | 2.303, 1.149, 10.69 |
---|---|
Hunter Lab | 10.719, 19.592, -51.625 |
CIE-LAB | 10.176, 31.858, -47.134 |
CIE-LCH | 10.176, 56.891, 304.055 |
CIE-LUV | 87.23, 87.23, 0, 63.14 |
Web Safe | 000066 |
RGB percent of color #0c0c5e
CMYK percent of color #0c0c5e
Text with hexadecimal color #0c0c5e
This text has a font color of #0c0c5e
<p style="color:#0c0c5e">Text here</p>
#0c0c5e Background Color
This box has a background color of #0c0c5e
<div style="background-color:#0c0c5e">Text here</div>
#0c0c5e Border Color
This box has a border color of #0c0c5e
<div style="border: 4px solid #0c0c5e">Text here</div>
CSS codes
<p style="color:#0c0c5e">Text here</p>
<div style="background-color:#0c0c5e">Text here</div>
<div style="border: 4px solid #0c0c5e">Text here</div>
#0c0c5e Color on white background
This is how a font and box color of #0c0c5e will look
on a white background.
#0c0c5e Color on black background
This is how a font and box color of #0c0c5e hex color will look
on a black background.