In RGB color space, #0c2786 hex color has a red value of 12, a green value of 39 and a blue value of 134.
In CMYK color space (used in color printing), #0c2786 hex color is composed of 91.04% cyan, 70.9% magenta, 0% yellow and 47.45% black.
#0c2786 color has a hue of 226.7 degrees, a saturation of 83.56% and a lightness of 28.6%.
#0c2786 hex color contains mainly BLUE.
The closest web safe color of #0c2786 is #003399
#0c2786 hex color has a decimal value of 796550.
HEX | 0c2786 | #0c2786 |
---|---|---|
RGB | 12, 39, 134 | rgb(12, 39, 134) |
RGB Percent | 4.71, 15.29, 52.55 | rgb(4.71, 15.29, 52.55) |
CMYK | 91, 71, 0, 47 | |
HSL | 226.7°, 83.56, 28.6 | hsl(226.7, 83.56%, 28.6%) |
HSV | 226.7°, 91, 52.5 |
XYZ | 5.18, 3.25, 22.909 |
---|---|
Hunter Lab | 18.028, 19.741, -62.724 |
CIE-LAB | 21.019, 30.006, -55.129 |
CIE-LCH | 21.019, 62.766, 298.559 |
CIE-LUV | 91.04, 70.9, 0, 47.45 |
Web Safe | 003399 |
RGB percent of color #0c2786
CMYK percent of color #0c2786
Text with hexadecimal color #0c2786
This text has a font color of #0c2786
<p style="color:#0c2786">Text here</p>
#0c2786 Background Color
This box has a background color of #0c2786
<div style="background-color:#0c2786">Text here</div>
#0c2786 Border Color
This box has a border color of #0c2786
<div style="border: 4px solid #0c2786">Text here</div>
CSS codes
<p style="color:#0c2786">Text here</p>
<div style="background-color:#0c2786">Text here</div>
<div style="border: 4px solid #0c2786">Text here</div>
#0c2786 Color on white background
This is how a font and box color of #0c2786 will look
on a white background.
#0c2786 Color on black background
This is how a font and box color of #0c2786 hex color will look
on a black background.