In RGB color space, #0c1c8c hex color has a red value of 12, a green value of 28 and a blue value of 140.
In CMYK color space (used in color printing), #0c1c8c hex color is composed of 91.43% cyan, 80% magenta, 0% yellow and 45.1% black.
#0c1c8c color has a hue of 232.5 degrees, a saturation of 84.21% and a lightness of 29.8%.
#0c1c8c hex color contains mainly BLUE.
The closest web safe color of #0c1c8c is #003399
#0c1c8c hex color has a decimal value of 793740.
HEX | 0c1c8c | #0c1c8c |
---|---|---|
RGB | 12, 28, 140 | rgb(12, 28, 140) |
RGB Percent | 4.71, 10.98, 54.9 | rgb(4.71, 10.98, 54.9) |
CMYK | 91, 80, 0, 45 | |
HSL | 232.5°, 84.21, 29.8 | hsl(232.5, 84.21%, 29.8%) |
HSV | 232.5°, 91.4, 54.9 |
XYZ | 5.3, 2.802, 25.072 |
---|---|
Hunter Lab | 16.739, 27.224, -77.087 |
CIE-LAB | 19.233, 39.156, -61.839 |
CIE-LCH | 19.233, 73.193, 302.342 |
CIE-LUV | 91.43, 80, 0, 45.1 |
Web Safe | 003399 |
RGB percent of color #0c1c8c
CMYK percent of color #0c1c8c
Text with hexadecimal color #0c1c8c
This text has a font color of #0c1c8c
<p style="color:#0c1c8c">Text here</p>
#0c1c8c Background Color
This box has a background color of #0c1c8c
<div style="background-color:#0c1c8c">Text here</div>
#0c1c8c Border Color
This box has a border color of #0c1c8c
<div style="border: 4px solid #0c1c8c">Text here</div>
CSS codes
<p style="color:#0c1c8c">Text here</p>
<div style="background-color:#0c1c8c">Text here</div>
<div style="border: 4px solid #0c1c8c">Text here</div>
#0c1c8c Color on white background
This is how a font and box color of #0c1c8c will look
on a white background.
#0c1c8c Color on black background
This is how a font and box color of #0c1c8c hex color will look
on a black background.