In RGB color space, #0c2887 hex color has a red value of 12, a green value of 40 and a blue value of 135.
In CMYK color space (used in color printing), #0c2887 hex color is composed of 91.11% cyan, 70.37% magenta, 0% yellow and 47.06% black.
#0c2887 color has a hue of 226.3 degrees, a saturation of 83.67% and a lightness of 28.8%.
#0c2887 hex color contains mainly BLUE.
The closest web safe color of #0c2887 is #003399
#0c2887 hex color has a decimal value of 796807.
HEX | 0c2887 | #0c2887 |
---|---|---|
RGB | 12, 40, 135 | rgb(12, 40, 135) |
RGB Percent | 4.71, 15.69, 52.94 | rgb(4.71, 15.69, 52.94) |
CMYK | 91, 70, 0, 47 | |
HSL | 226.3°, 83.67, 28.8 | hsl(226.3, 83.67%, 28.8%) |
HSV | 226.3°, 91.1, 52.9 |
XYZ | 5.284, 3.345, 23.289 |
---|---|
Hunter Lab | 18.289, 19.564, -62.695 |
CIE-LAB | 21.376, 29.727, -55.167 |
CIE-LCH | 21.376, 62.667, 298.318 |
CIE-LUV | 91.11, 70.37, 0, 47.06 |
Web Safe | 003399 |
RGB percent of color #0c2887
CMYK percent of color #0c2887
Text with hexadecimal color #0c2887
This text has a font color of #0c2887
<p style="color:#0c2887">Text here</p>
#0c2887 Background Color
This box has a background color of #0c2887
<div style="background-color:#0c2887">Text here</div>
#0c2887 Border Color
This box has a border color of #0c2887
<div style="border: 4px solid #0c2887">Text here</div>
CSS codes
<p style="color:#0c2887">Text here</p>
<div style="background-color:#0c2887">Text here</div>
<div style="border: 4px solid #0c2887">Text here</div>
#0c2887 Color on white background
This is how a font and box color of #0c2887 will look
on a white background.
#0c2887 Color on black background
This is how a font and box color of #0c2887 hex color will look
on a black background.