In RGB color space, #0c1f5c hex color has a red value of 12, a green value of 31 and a blue value of 92.
In CMYK color space (used in color printing), #0c1f5c hex color is composed of 86.96% cyan, 66.3% magenta, 0% yellow and 63.92% black.
#0c1f5c color has a hue of 225.8 degrees, a saturation of 76.92% and a lightness of 20.4%.
#0c1f5c hex color contains mainly BLUE.
The closest web safe color of #0c1f5c is #003366
#0c1f5c hex color has a decimal value of 794460.
HEX | 0c1f5c | #0c1f5c |
---|---|---|
RGB | 12, 31, 92 | rgb(12, 31, 92) |
RGB Percent | 4.71, 12.16, 36.08 | rgb(4.71, 12.16, 36.08) |
CMYK | 87, 66, 0, 64 | |
HSL | 225.8°, 76.92, 20.4 | hsl(225.8, 76.92%, 20.4%) |
HSV | 225.8°, 87, 36.1 |
XYZ | 2.573, 1.831, 10.343 |
---|---|
Hunter Lab | 13.531, 10.262, -35.847 |
CIE-LAB | 14.574, 18.346, -38.541 |
CIE-LCH | 14.574, 42.685, 295.455 |
CIE-LUV | 86.96, 66.3, 0, 63.92 |
Web Safe | 003366 |
RGB percent of color #0c1f5c
CMYK percent of color #0c1f5c
Text with hexadecimal color #0c1f5c
This text has a font color of #0c1f5c
<p style="color:#0c1f5c">Text here</p>
#0c1f5c Background Color
This box has a background color of #0c1f5c
<div style="background-color:#0c1f5c">Text here</div>
#0c1f5c Border Color
This box has a border color of #0c1f5c
<div style="border: 4px solid #0c1f5c">Text here</div>
CSS codes
<p style="color:#0c1f5c">Text here</p>
<div style="background-color:#0c1f5c">Text here</div>
<div style="border: 4px solid #0c1f5c">Text here</div>
#0c1f5c Color on white background
This is how a font and box color of #0c1f5c will look
on a white background.
#0c1f5c Color on black background
This is how a font and box color of #0c1f5c hex color will look
on a black background.