In RGB color space, #0c0f9f hex color has a red value of 12, a green value of 15 and a blue value of 159.
In CMYK color space (used in color printing), #0c0f9f hex color is composed of 92.45% cyan, 90.57% magenta, 0% yellow and 37.65% black.
#0c0f9f color has a hue of 238.8 degrees, a saturation of 85.96% and a lightness of 33.5%.
#0c0f9f hex color contains mainly BLUE.
The closest web safe color of #0c0f9f is #000099
#0c0f9f hex color has a decimal value of 790431.
HEX | 0c0f9f | #0c0f9f |
---|---|---|
RGB | 12, 15, 159 | rgb(12, 15, 159) |
RGB Percent | 4.71, 5.88, 62.35 | rgb(4.71, 5.88, 62.35) |
CMYK | 92, 91, 0, 38 | |
HSL | 238.8°, 85.96, 33.5 | hsl(238.8, 85.96%, 33.5%) |
HSV | 238.8°, 92.5, 62.4 |
XYZ | 6.58, 2.923, 33.018 |
---|---|
Hunter Lab | 17.097, 38.78, -102.535 |
CIE-LAB | 19.733, 51.284, -72.759 |
CIE-LCH | 19.733, 89.016, 305.178 |
CIE-LUV | 92.45, 90.57, 0, 37.65 |
Web Safe | 000099 |
RGB percent of color #0c0f9f
CMYK percent of color #0c0f9f
Text with hexadecimal color #0c0f9f
This text has a font color of #0c0f9f
<p style="color:#0c0f9f">Text here</p>
#0c0f9f Background Color
This box has a background color of #0c0f9f
<div style="background-color:#0c0f9f">Text here</div>
#0c0f9f Border Color
This box has a border color of #0c0f9f
<div style="border: 4px solid #0c0f9f">Text here</div>
CSS codes
<p style="color:#0c0f9f">Text here</p>
<div style="background-color:#0c0f9f">Text here</div>
<div style="border: 4px solid #0c0f9f">Text here</div>
#0c0f9f Color on white background
This is how a font and box color of #0c0f9f will look
on a white background.
#0c0f9f Color on black background
This is how a font and box color of #0c0f9f hex color will look
on a black background.