In RGB color space, #0c0c8b hex color has a red value of 12, a green value of 12 and a blue value of 139.
In CMYK color space (used in color printing), #0c0c8b hex color is composed of 91.37% cyan, 91.37% magenta, 0% yellow and 45.49% black.
#0c0c8b color has a hue of 240 degrees, a saturation of 84.11% and a lightness of 29.6%.
#0c0c8b hex color contains mainly BLUE.
The closest web safe color of #0c0c8b is #000099
#0c0c8b hex color has a decimal value of 789643.
HEX | 0c0c8b | #0c0c8b |
---|---|---|
RGB | 12, 12, 139 | rgb(12, 12, 139) |
RGB Percent | 4.71, 4.71, 54.51 | rgb(4.71, 4.71, 54.51) |
CMYK | 91, 91, 0, 45 | |
HSL | 240°, 84.11, 29.6 | hsl(240, 84.11%, 29.6%) |
HSV | 240°, 91.4, 54.5 |
XYZ | 4.943, 2.205, 24.591 |
---|---|
Hunter Lab | 14.849, 33.433, -87.792 |
CIE-LAB | 16.528, 46.425, -65.713 |
CIE-LCH | 16.528, 80.458, 305.24 |
CIE-LUV | 91.37, 91.37, 0, 45.49 |
Web Safe | 000099 |
RGB percent of color #0c0c8b
CMYK percent of color #0c0c8b
Text with hexadecimal color #0c0c8b
This text has a font color of #0c0c8b
<p style="color:#0c0c8b">Text here</p>
#0c0c8b Background Color
This box has a background color of #0c0c8b
<div style="background-color:#0c0c8b">Text here</div>
#0c0c8b Border Color
This box has a border color of #0c0c8b
<div style="border: 4px solid #0c0c8b">Text here</div>
CSS codes
<p style="color:#0c0c8b">Text here</p>
<div style="background-color:#0c0c8b">Text here</div>
<div style="border: 4px solid #0c0c8b">Text here</div>
#0c0c8b Color on white background
This is how a font and box color of #0c0c8b will look
on a white background.
#0c0c8b Color on black background
This is how a font and box color of #0c0c8b hex color will look
on a black background.