In RGB color space, #0c1f5e hex color has a red value of 12, a green value of 31 and a blue value of 94.
In CMYK color space (used in color printing), #0c1f5e hex color is composed of 87.23% cyan, 67.02% magenta, 0% yellow and 63.14% black.
#0c1f5e color has a hue of 226.1 degrees, a saturation of 77.36% and a lightness of 20.8%.
#0c1f5e hex color contains mainly BLUE.
The closest web safe color of #0c1f5e is #003366
#0c1f5e hex color has a decimal value of 794462.
HEX | 0c1f5e | #0c1f5e |
---|---|---|
RGB | 12, 31, 94 | rgb(12, 31, 94) |
RGB Percent | 4.71, 12.16, 36.86 | rgb(4.71, 12.16, 36.86) |
CMYK | 87, 67, 0, 63 | |
HSL | 226.1°, 77.36, 20.8 | hsl(226.1, 77.36%, 20.8%) |
HSV | 226.1°, 87.2, 36.9 |
XYZ | 2.662, 1.866, 10.81 |
---|---|
Hunter Lab | 13.66, 10.88, -37.357 |
CIE-LAB | 14.768, 19.223, -39.561 |
CIE-LCH | 14.768, 43.984, 295.915 |
CIE-LUV | 87.23, 67.02, 0, 63.14 |
Web Safe | 003366 |
RGB percent of color #0c1f5e
CMYK percent of color #0c1f5e
Text with hexadecimal color #0c1f5e
This text has a font color of #0c1f5e
<p style="color:#0c1f5e">Text here</p>
#0c1f5e Background Color
This box has a background color of #0c1f5e
<div style="background-color:#0c1f5e">Text here</div>
#0c1f5e Border Color
This box has a border color of #0c1f5e
<div style="border: 4px solid #0c1f5e">Text here</div>
CSS codes
<p style="color:#0c1f5e">Text here</p>
<div style="background-color:#0c1f5e">Text here</div>
<div style="border: 4px solid #0c1f5e">Text here</div>
#0c1f5e Color on white background
This is how a font and box color of #0c1f5e will look
on a white background.
#0c1f5e Color on black background
This is how a font and box color of #0c1f5e hex color will look
on a black background.