In RGB color space, #0c0b8f hex color has a red value of 12, a green value of 11 and a blue value of 143.
In CMYK color space (used in color printing), #0c0b8f hex color is composed of 91.61% cyan, 92.31% magenta, 0% yellow and 43.92% black.
#0c0b8f color has a hue of 240.5 degrees, a saturation of 85.71% and a lightness of 30.2%.
#0c0b8f hex color contains mainly BLUE.
The closest web safe color of #0c0b8f is #000099
#0c0b8f hex color has a decimal value of 789391.
HEX | 0c0b8f | #0c0b8f |
---|---|---|
RGB | 12, 11, 143 | rgb(12, 11, 143) |
RGB Percent | 4.71, 4.31, 56.08 | rgb(4.71, 4.31, 56.08) |
CMYK | 92, 92, 0, 44 | |
HSL | 240.5°, 85.71, 30.2 | hsl(240.5, 85.71%, 30.2%) |
HSV | 240.5°, 92.3, 56.1 |
XYZ | 5.229, 2.301, 26.155 |
---|---|
Hunter Lab | 15.169, 34.986, -91.612 |
CIE-LAB | 16.994, 47.951, -67.44 |
CIE-LCH | 16.994, 82.749, 305.413 |
CIE-LUV | 91.61, 92.31, 0, 43.92 |
Web Safe | 000099 |
RGB percent of color #0c0b8f
CMYK percent of color #0c0b8f
Text with hexadecimal color #0c0b8f
This text has a font color of #0c0b8f
<p style="color:#0c0b8f">Text here</p>
#0c0b8f Background Color
This box has a background color of #0c0b8f
<div style="background-color:#0c0b8f">Text here</div>
#0c0b8f Border Color
This box has a border color of #0c0b8f
<div style="border: 4px solid #0c0b8f">Text here</div>
CSS codes
<p style="color:#0c0b8f">Text here</p>
<div style="background-color:#0c0b8f">Text here</div>
<div style="border: 4px solid #0c0b8f">Text here</div>
#0c0b8f Color on white background
This is how a font and box color of #0c0b8f will look
on a white background.
#0c0b8f Color on black background
This is how a font and box color of #0c0b8f hex color will look
on a black background.