In RGB color space, #0c2158 hex color has a red value of 12, a green value of 33 and a blue value of 88.
In CMYK color space (used in color printing), #0c2158 hex color is composed of 86.36% cyan, 62.5% magenta, 0% yellow and 65.49% black.
#0c2158 color has a hue of 223.4 degrees, a saturation of 76% and a lightness of 19.6%.
#0c2158 hex color contains mainly BLUE.
The closest web safe color of #0c2158 is #003366
#0c2158 hex color has a decimal value of 794968.
HEX | 0c2158 | #0c2158 |
---|---|---|
RGB | 12, 33, 88 | rgb(12, 33, 88) |
RGB Percent | 4.71, 12.94, 34.51 | rgb(4.71, 12.94, 34.51) |
CMYK | 86, 63, 0, 65 | |
HSL | 223.4°, 76, 19.6 | hsl(223.4, 76%, 19.6%) |
HSV | 223.4°, 86.4, 34.5 |
XYZ | 2.457, 1.87, 9.464 |
---|---|
Hunter Lab | 13.675, 8.141, -31.461 |
CIE-LAB | 14.79, 15.126, -35.508 |
CIE-LCH | 14.79, 38.596, 293.073 |
CIE-LUV | 86.36, 62.5, 0, 65.49 |
Web Safe | 003366 |
RGB percent of color #0c2158
CMYK percent of color #0c2158
Text with hexadecimal color #0c2158
This text has a font color of #0c2158
<p style="color:#0c2158">Text here</p>
#0c2158 Background Color
This box has a background color of #0c2158
<div style="background-color:#0c2158">Text here</div>
#0c2158 Border Color
This box has a border color of #0c2158
<div style="border: 4px solid #0c2158">Text here</div>
CSS codes
<p style="color:#0c2158">Text here</p>
<div style="background-color:#0c2158">Text here</div>
<div style="border: 4px solid #0c2158">Text here</div>
#0c2158 Color on white background
This is how a font and box color of #0c2158 will look
on a white background.
#0c2158 Color on black background
This is how a font and box color of #0c2158 hex color will look
on a black background.