In RGB color space, #0c2796 hex color has a red value of 12, a green value of 39 and a blue value of 150.
In CMYK color space (used in color printing), #0c2796 hex color is composed of 92% cyan, 74% magenta, 0% yellow and 41.18% black.
#0c2796 color has a hue of 228.3 degrees, a saturation of 85.19% and a lightness of 31.8%.
#0c2796 hex color contains mainly BLUE.
The closest web safe color of #0c2796 is #003399
#0c2796 hex color has a decimal value of 796566.
HEX | 0c2796 | #0c2796 |
---|---|---|
RGB | 12, 39, 150 | rgb(12, 39, 150) |
RGB Percent | 4.71, 15.29, 58.82 | rgb(4.71, 15.29, 58.82) |
CMYK | 92, 74, 0, 41 | |
HSL | 228.3°, 85.19, 31.8 | hsl(228.3, 85.19%, 31.8%) |
HSV | 228.3°, 92, 58.8 |
XYZ | 6.382, 3.731, 29.238 |
---|---|
Hunter Lab | 19.316, 25.174, -76.225 |
CIE-LAB | 22.761, 36.149, -62.2 |
CIE-LCH | 22.761, 71.942, 300.164 |
CIE-LUV | 92, 74, 0, 41.18 |
Web Safe | 003399 |
RGB percent of color #0c2796
CMYK percent of color #0c2796
Text with hexadecimal color #0c2796
This text has a font color of #0c2796
<p style="color:#0c2796">Text here</p>
#0c2796 Background Color
This box has a background color of #0c2796
<div style="background-color:#0c2796">Text here</div>
#0c2796 Border Color
This box has a border color of #0c2796
<div style="border: 4px solid #0c2796">Text here</div>
CSS codes
<p style="color:#0c2796">Text here</p>
<div style="background-color:#0c2796">Text here</div>
<div style="border: 4px solid #0c2796">Text here</div>
#0c2796 Color on white background
This is how a font and box color of #0c2796 will look
on a white background.
#0c2796 Color on black background
This is how a font and box color of #0c2796 hex color will look
on a black background.