In RGB color space, #0c2271 hex color has a red value of 12, a green value of 34 and a blue value of 113.
In CMYK color space (used in color printing), #0c2271 hex color is composed of 89.38% cyan, 69.91% magenta, 0% yellow and 55.69% black.
#0c2271 color has a hue of 226.9 degrees, a saturation of 80.8% and a lightness of 24.5%.
#0c2271 hex color contains mainly BLUE.
The closest web safe color of #0c2271 is #003366
#0c2271 hex color has a decimal value of 795249.
HEX | 0c2271 | #0c2271 |
---|---|---|
RGB | 12, 34, 113 | rgb(12, 34, 113) |
RGB Percent | 4.71, 13.33, 44.31 | rgb(4.71, 13.33, 44.31) |
CMYK | 89, 70, 0, 56 | |
HSL | 226.9°, 80.8, 24.5 | hsl(226.9, 80.8%, 24.5%) |
HSV | 226.9°, 89.4, 44.3 |
XYZ | 3.704, 2.414, 15.894 |
---|---|
Hunter Lab | 15.537, 15.364, -49.776 |
CIE-LAB | 17.525, 25.013, -47.504 |
CIE-LCH | 17.525, 53.687, 297.769 |
CIE-LUV | 89.38, 69.91, 0, 55.69 |
Web Safe | 003366 |
RGB percent of color #0c2271
CMYK percent of color #0c2271
Text with hexadecimal color #0c2271
This text has a font color of #0c2271
<p style="color:#0c2271">Text here</p>
#0c2271 Background Color
This box has a background color of #0c2271
<div style="background-color:#0c2271">Text here</div>
#0c2271 Border Color
This box has a border color of #0c2271
<div style="border: 4px solid #0c2271">Text here</div>
CSS codes
<p style="color:#0c2271">Text here</p>
<div style="background-color:#0c2271">Text here</div>
<div style="border: 4px solid #0c2271">Text here</div>
#0c2271 Color on white background
This is how a font and box color of #0c2271 will look
on a white background.
#0c2271 Color on black background
This is how a font and box color of #0c2271 hex color will look
on a black background.