In RGB color space, #0c2798 hex color has a red value of 12, a green value of 39 and a blue value of 152.
In CMYK color space (used in color printing), #0c2798 hex color is composed of 92.11% cyan, 74.34% magenta, 0% yellow and 40.39% black.
#0c2798 color has a hue of 228.4 degrees, a saturation of 85.37% and a lightness of 32.2%.
#0c2798 hex color contains mainly BLUE.
The closest web safe color of #0c2798 is #003399
#0c2798 hex color has a decimal value of 796568.
HEX | 0c2798 | #0c2798 |
---|---|---|
RGB | 12, 39, 152 | rgb(12, 39, 152) |
RGB Percent | 4.71, 15.29, 59.61 | rgb(4.71, 15.29, 59.61) |
CMYK | 92, 74, 0, 40 | |
HSL | 228.4°, 85.37, 32.2 | hsl(228.4, 85.37%, 32.2%) |
HSV | 228.4°, 92.1, 59.6 |
XYZ | 6.545, 3.796, 30.094 |
---|---|
Hunter Lab | 19.483, 25.867, -77.941 |
CIE-LAB | 22.985, 36.9, -63.062 |
CIE-LCH | 22.985, 73.065, 300.334 |
CIE-LUV | 92.11, 74.34, 0, 40.39 |
Web Safe | 003399 |
RGB percent of color #0c2798
CMYK percent of color #0c2798
Text with hexadecimal color #0c2798
This text has a font color of #0c2798
<p style="color:#0c2798">Text here</p>
#0c2798 Background Color
This box has a background color of #0c2798
<div style="background-color:#0c2798">Text here</div>
#0c2798 Border Color
This box has a border color of #0c2798
<div style="border: 4px solid #0c2798">Text here</div>
CSS codes
<p style="color:#0c2798">Text here</p>
<div style="background-color:#0c2798">Text here</div>
<div style="border: 4px solid #0c2798">Text here</div>
#0c2798 Color on white background
This is how a font and box color of #0c2798 will look
on a white background.
#0c2798 Color on black background
This is how a font and box color of #0c2798 hex color will look
on a black background.