In RGB color space, #0c2257 hex color has a red value of 12, a green value of 34 and a blue value of 87.
In CMYK color space (used in color printing), #0c2257 hex color is composed of 86.21% cyan, 60.92% magenta, 0% yellow and 65.88% black.
#0c2257 color has a hue of 222.4 degrees, a saturation of 75.76% and a lightness of 19.4%.
#0c2257 hex color contains mainly BLUE.
The closest web safe color of #0c2257 is #003366
#0c2257 hex color has a decimal value of 795223.
HEX | 0c2257 | #0c2257 |
---|---|---|
RGB | 12, 34, 87 | rgb(12, 34, 87) |
RGB Percent | 4.71, 13.33, 34.12 | rgb(4.71, 13.33, 34.12) |
CMYK | 86, 61, 0, 66 | |
HSL | 222.4°, 75.76, 19.4 | hsl(222.4, 75.76%, 19.4%) |
HSV | 222.4°, 86.2, 34.1 |
XYZ | 2.444, 1.91, 9.257 |
---|---|
Hunter Lab | 13.82, 7.381, -30.039 |
CIE-LAB | 15.008, 13.925, -34.481 |
CIE-LCH | 15.008, 37.187, 291.991 |
CIE-LUV | 86.21, 60.92, 0, 65.88 |
Web Safe | 003366 |
RGB percent of color #0c2257
CMYK percent of color #0c2257
Text with hexadecimal color #0c2257
This text has a font color of #0c2257
<p style="color:#0c2257">Text here</p>
#0c2257 Background Color
This box has a background color of #0c2257
<div style="background-color:#0c2257">Text here</div>
#0c2257 Border Color
This box has a border color of #0c2257
<div style="border: 4px solid #0c2257">Text here</div>
CSS codes
<p style="color:#0c2257">Text here</p>
<div style="background-color:#0c2257">Text here</div>
<div style="border: 4px solid #0c2257">Text here</div>
#0c2257 Color on white background
This is how a font and box color of #0c2257 will look
on a white background.
#0c2257 Color on black background
This is how a font and box color of #0c2257 hex color will look
on a black background.