In RGB color space, #0c1f66 hex color has a red value of 12, a green value of 31 and a blue value of 102.
In CMYK color space (used in color printing), #0c1f66 hex color is composed of 88.24% cyan, 69.61% magenta, 0% yellow and 60% black.
#0c1f66 color has a hue of 227.3 degrees, a saturation of 78.95% and a lightness of 22.4%.
#0c1f66 hex color contains mainly BLUE.
The closest web safe color of #0c1f66 is #003366
#0c1f66 hex color has a decimal value of 794470.
HEX | 0c1f66 | #0c1f66 |
---|---|---|
RGB | 12, 31, 102 | rgb(12, 31, 102) |
RGB Percent | 4.71, 12.16, 40 | rgb(4.71, 12.16, 40) |
CMYK | 88, 70, 0, 60 | |
HSL | 227.3°, 78.95, 22.4 | hsl(227.3, 78.95%, 22.4%) |
HSV | 227.3°, 88.2, 40 |
XYZ | 3.04, 2.017, 12.8 |
---|---|
Hunter Lab | 14.202, 13.355, -43.495 |
CIE-LAB | 15.576, 22.61, -43.533 |
CIE-LCH | 15.576, 49.054, 297.446 |
CIE-LUV | 88.24, 69.61, 0, 60 |
Web Safe | 003366 |
RGB percent of color #0c1f66
CMYK percent of color #0c1f66
Text with hexadecimal color #0c1f66
This text has a font color of #0c1f66
<p style="color:#0c1f66">Text here</p>
#0c1f66 Background Color
This box has a background color of #0c1f66
<div style="background-color:#0c1f66">Text here</div>
#0c1f66 Border Color
This box has a border color of #0c1f66
<div style="border: 4px solid #0c1f66">Text here</div>
CSS codes
<p style="color:#0c1f66">Text here</p>
<div style="background-color:#0c1f66">Text here</div>
<div style="border: 4px solid #0c1f66">Text here</div>
#0c1f66 Color on white background
This is how a font and box color of #0c1f66 will look
on a white background.
#0c1f66 Color on black background
This is how a font and box color of #0c1f66 hex color will look
on a black background.