In RGB color space, #0c1f87 hex color has a red value of 12, a green value of 31 and a blue value of 135.
In CMYK color space (used in color printing), #0c1f87 hex color is composed of 91.11% cyan, 77.04% magenta, 0% yellow and 47.06% black.
#0c1f87 color has a hue of 230.7 degrees, a saturation of 83.67% and a lightness of 28.8%.
#0c1f87 hex color contains mainly BLUE.
The closest web safe color of #0c1f87 is #003399
#0c1f87 hex color has a decimal value of 794503.
HEX | 0c1f87 | #0c1f87 |
---|---|---|
RGB | 12, 31, 135 | rgb(12, 31, 135) |
RGB Percent | 4.71, 12.16, 52.94 | rgb(4.71, 12.16, 52.94) |
CMYK | 91, 77, 0, 47 | |
HSL | 230.7°, 83.67, 28.8 | hsl(230.7, 83.67%, 28.8%) |
HSV | 230.7°, 91.1, 52.9 |
XYZ | 5.015, 2.807, 23.199 |
---|---|
Hunter Lab | 16.754, 24.111, -70.37 |
CIE-LAB | 19.254, 35.578, -58.671 |
CIE-LCH | 19.254, 68.615, 301.233 |
CIE-LUV | 91.11, 77.04, 0, 47.06 |
Web Safe | 003399 |
RGB percent of color #0c1f87
CMYK percent of color #0c1f87
Text with hexadecimal color #0c1f87
This text has a font color of #0c1f87
<p style="color:#0c1f87">Text here</p>
#0c1f87 Background Color
This box has a background color of #0c1f87
<div style="background-color:#0c1f87">Text here</div>
#0c1f87 Border Color
This box has a border color of #0c1f87
<div style="border: 4px solid #0c1f87">Text here</div>
CSS codes
<p style="color:#0c1f87">Text here</p>
<div style="background-color:#0c1f87">Text here</div>
<div style="border: 4px solid #0c1f87">Text here</div>
#0c1f87 Color on white background
This is how a font and box color of #0c1f87 will look
on a white background.
#0c1f87 Color on black background
This is how a font and box color of #0c1f87 hex color will look
on a black background.