In RGB color space, #0c2172 hex color has a red value of 12, a green value of 33 and a blue value of 114.
In CMYK color space (used in color printing), #0c2172 hex color is composed of 89.47% cyan, 71.05% magenta, 0% yellow and 55.29% black.
#0c2172 color has a hue of 227.6 degrees, a saturation of 80.95% and a lightness of 24.7%.
#0c2172 hex color contains mainly BLUE.
The closest web safe color of #0c2172 is #003366
#0c2172 hex color has a decimal value of 794994.
HEX | 0c2172 | #0c2172 |
---|---|---|
RGB | 12, 33, 114 | rgb(12, 33, 114) |
RGB Percent | 4.71, 12.94, 44.71 | rgb(4.71, 12.94, 44.71) |
CMYK | 89, 71, 0, 55 | |
HSL | 227.6°, 80.95, 24.7 | hsl(227.6, 80.95%, 24.7%) |
HSV | 227.6°, 89.5, 44.7 |
XYZ | 3.733, 2.381, 16.182 |
---|---|
Hunter Lab | 15.43, 16.18, -51.376 |
CIE-LAB | 17.372, 26.115, -48.401 |
CIE-LCH | 17.372, 54.997, 298.349 |
CIE-LUV | 89.47, 71.05, 0, 55.29 |
Web Safe | 003366 |
RGB percent of color #0c2172
CMYK percent of color #0c2172
Text with hexadecimal color #0c2172
This text has a font color of #0c2172
<p style="color:#0c2172">Text here</p>
#0c2172 Background Color
This box has a background color of #0c2172
<div style="background-color:#0c2172">Text here</div>
#0c2172 Border Color
This box has a border color of #0c2172
<div style="border: 4px solid #0c2172">Text here</div>
CSS codes
<p style="color:#0c2172">Text here</p>
<div style="background-color:#0c2172">Text here</div>
<div style="border: 4px solid #0c2172">Text here</div>
#0c2172 Color on white background
This is how a font and box color of #0c2172 will look
on a white background.
#0c2172 Color on black background
This is how a font and box color of #0c2172 hex color will look
on a black background.