In RGB color space, #0c1f5b hex color has a red value of 12, a green value of 31 and a blue value of 91.
In CMYK color space (used in color printing), #0c1f5b hex color is composed of 86.81% cyan, 65.93% magenta, 0% yellow and 64.31% black.
#0c1f5b color has a hue of 225.6 degrees, a saturation of 76.7% and a lightness of 20.2%.
#0c1f5b hex color contains mainly BLUE.
The closest web safe color of #0c1f5b is #003366
#0c1f5b hex color has a decimal value of 794459.
HEX | 0c1f5b | #0c1f5b |
---|---|---|
RGB | 12, 31, 91 | rgb(12, 31, 91) |
RGB Percent | 4.71, 12.16, 35.69 | rgb(4.71, 12.16, 35.69) |
CMYK | 87, 66, 0, 64 | |
HSL | 225.6°, 76.7, 20.2 | hsl(225.6, 76.7%, 20.2%) |
HSV | 225.6°, 86.8, 35.7 |
XYZ | 2.53, 1.813, 10.114 |
---|---|
Hunter Lab | 13.465, 9.976, -35.11 |
CIE-LAB | 14.474, 17.938, -38.036 |
CIE-LCH | 14.474, 42.054, 295.249 |
CIE-LUV | 86.81, 65.93, 0, 64.31 |
Web Safe | 003366 |
RGB percent of color #0c1f5b
CMYK percent of color #0c1f5b
Text with hexadecimal color #0c1f5b
This text has a font color of #0c1f5b
<p style="color:#0c1f5b">Text here</p>
#0c1f5b Background Color
This box has a background color of #0c1f5b
<div style="background-color:#0c1f5b">Text here</div>
#0c1f5b Border Color
This box has a border color of #0c1f5b
<div style="border: 4px solid #0c1f5b">Text here</div>
CSS codes
<p style="color:#0c1f5b">Text here</p>
<div style="background-color:#0c1f5b">Text here</div>
<div style="border: 4px solid #0c1f5b">Text here</div>
#0c1f5b Color on white background
This is how a font and box color of #0c1f5b will look
on a white background.
#0c1f5b Color on black background
This is how a font and box color of #0c1f5b hex color will look
on a black background.