In RGB color space, #0c1f45 hex color has a red value of 12, a green value of 31 and a blue value of 69.
In CMYK color space (used in color printing), #0c1f45 hex color is composed of 82.61% cyan, 55.07% magenta, 0% yellow and 72.94% black.
#0c1f45 color has a hue of 220 degrees, a saturation of 70.37% and a lightness of 15.9%.
#0c1f45 hex color contains mainly BLUE.
The closest web safe color of #0c1f45 is #003333
#0c1f45 hex color has a decimal value of 794437.
HEX | 0c1f45 | #0c1f45 |
---|---|---|
RGB | 12, 31, 69 | rgb(12, 31, 69) |
RGB Percent | 4.71, 12.16, 27.06 | rgb(4.71, 12.16, 27.06) |
CMYK | 83, 55, 0, 73 | |
HSL | 220°, 70.37, 15.9 | hsl(220, 70.37%, 15.9%) |
HSV | 220°, 82.6, 27.1 |
XYZ | 1.716, 1.488, 5.827 |
---|---|
Hunter Lab | 12.198, 3.763, -19.783 |
CIE-LAB | 12.532, 8.188, -26.176 |
CIE-LCH | 12.532, 27.427, 287.37 |
CIE-LUV | 82.61, 55.07, 0, 72.94 |
Web Safe | 003333 |
RGB percent of color #0c1f45
CMYK percent of color #0c1f45
Text with hexadecimal color #0c1f45
This text has a font color of #0c1f45
<p style="color:#0c1f45">Text here</p>
#0c1f45 Background Color
This box has a background color of #0c1f45
<div style="background-color:#0c1f45">Text here</div>
#0c1f45 Border Color
This box has a border color of #0c1f45
<div style="border: 4px solid #0c1f45">Text here</div>
CSS codes
<p style="color:#0c1f45">Text here</p>
<div style="background-color:#0c1f45">Text here</div>
<div style="border: 4px solid #0c1f45">Text here</div>
#0c1f45 Color on white background
This is how a font and box color of #0c1f45 will look
on a white background.
#0c1f45 Color on black background
This is how a font and box color of #0c1f45 hex color will look
on a black background.