In RGB color space, #0c1f6a hex color has a red value of 12, a green value of 31 and a blue value of 106.
In CMYK color space (used in color printing), #0c1f6a hex color is composed of 88.68% cyan, 70.75% magenta, 0% yellow and 58.43% black.
#0c1f6a color has a hue of 227.9 degrees, a saturation of 79.66% and a lightness of 23.1%.
#0c1f6a hex color contains mainly BLUE.
The closest web safe color of #0c1f6a is #003366
#0c1f6a hex color has a decimal value of 794474.
HEX | 0c1f6a | #0c1f6a |
---|---|---|
RGB | 12, 31, 106 | rgb(12, 31, 106) |
RGB Percent | 4.71, 12.16, 41.57 | rgb(4.71, 12.16, 41.57) |
CMYK | 89, 71, 0, 58 | |
HSL | 227.9°, 79.66, 23.1 | hsl(227.9, 79.66%, 23.1%) |
HSV | 227.9°, 88.7, 41.6 |
XYZ | 3.243, 2.099, 13.87 |
---|---|
Hunter Lab | 14.488, 14.602, -46.62 |
CIE-LAB | 15.998, 24.247, -45.462 |
CIE-LCH | 15.998, 51.524, 298.073 |
CIE-LUV | 88.68, 70.75, 0, 58.43 |
Web Safe | 003366 |
RGB percent of color #0c1f6a
CMYK percent of color #0c1f6a
Text with hexadecimal color #0c1f6a
This text has a font color of #0c1f6a
<p style="color:#0c1f6a">Text here</p>
#0c1f6a Background Color
This box has a background color of #0c1f6a
<div style="background-color:#0c1f6a">Text here</div>
#0c1f6a Border Color
This box has a border color of #0c1f6a
<div style="border: 4px solid #0c1f6a">Text here</div>
CSS codes
<p style="color:#0c1f6a">Text here</p>
<div style="background-color:#0c1f6a">Text here</div>
<div style="border: 4px solid #0c1f6a">Text here</div>
#0c1f6a Color on white background
This is how a font and box color of #0c1f6a will look
on a white background.
#0c1f6a Color on black background
This is how a font and box color of #0c1f6a hex color will look
on a black background.