In RGB color space, #0c1f4f hex color has a red value of 12, a green value of 31 and a blue value of 79.
In CMYK color space (used in color printing), #0c1f4f hex color is composed of 84.81% cyan, 60.76% magenta, 0% yellow and 69.02% black.
#0c1f4f color has a hue of 223 degrees, a saturation of 73.63% and a lightness of 17.8%.
#0c1f4f hex color contains mainly BLUE.
The closest web safe color of #0c1f4f is #003366
#0c1f4f hex color has a decimal value of 794447.
HEX | 0c1f4f | #0c1f4f |
---|---|---|
RGB | 12, 31, 79 | rgb(12, 31, 79) |
RGB Percent | 4.71, 12.16, 30.98 | rgb(4.71, 12.16, 30.98) |
CMYK | 85, 61, 0, 69 | |
HSL | 223°, 73.63, 17.8 | hsl(223, 73.63%, 17.8%) |
HSV | 223°, 84.8, 31 |
XYZ | 2.053, 1.623, 7.602 |
---|---|
Hunter Lab | 12.74, 6.471, -26.462 |
CIE-LAB | 13.37, 12.654, -31.717 |
CIE-LCH | 13.37, 34.148, 291.75 |
CIE-LUV | 84.81, 60.76, 0, 69.02 |
Web Safe | 003366 |
RGB percent of color #0c1f4f
CMYK percent of color #0c1f4f
Text with hexadecimal color #0c1f4f
This text has a font color of #0c1f4f
<p style="color:#0c1f4f">Text here</p>
#0c1f4f Background Color
This box has a background color of #0c1f4f
<div style="background-color:#0c1f4f">Text here</div>
#0c1f4f Border Color
This box has a border color of #0c1f4f
<div style="border: 4px solid #0c1f4f">Text here</div>
CSS codes
<p style="color:#0c1f4f">Text here</p>
<div style="background-color:#0c1f4f">Text here</div>
<div style="border: 4px solid #0c1f4f">Text here</div>
#0c1f4f Color on white background
This is how a font and box color of #0c1f4f will look
on a white background.
#0c1f4f Color on black background
This is how a font and box color of #0c1f4f hex color will look
on a black background.