In RGB color space, #0c2871 hex color has a red value of 12, a green value of 40 and a blue value of 113.
In CMYK color space (used in color printing), #0c2871 hex color is composed of 89.38% cyan, 64.6% magenta, 0% yellow and 55.69% black.
#0c2871 color has a hue of 223.4 degrees, a saturation of 80.8% and a lightness of 24.5%.
#0c2871 hex color contains mainly BLUE.
The closest web safe color of #0c2871 is #003366
#0c2871 hex color has a decimal value of 796785.
HEX | 0c2871 | #0c2871 |
---|---|---|
RGB | 12, 40, 113 | rgb(12, 40, 113) |
RGB Percent | 4.71, 15.69, 44.31 | rgb(4.71, 15.69, 44.31) |
CMYK | 89, 65, 0, 56 | |
HSL | 223.4°, 80.8, 24.5 | hsl(223.4, 80.8%, 24.5%) |
HSV | 223.4°, 89.4, 44.3 |
XYZ | 3.891, 2.788, 15.956 |
---|---|
Hunter Lab | 16.697, 12.376, -44.97 |
CIE-LAB | 19.174, 20.711, -44.798 |
CIE-LCH | 19.174, 49.354, 294.812 |
CIE-LUV | 89.38, 64.6, 0, 55.69 |
Web Safe | 003366 |
RGB percent of color #0c2871
CMYK percent of color #0c2871
Text with hexadecimal color #0c2871
This text has a font color of #0c2871
<p style="color:#0c2871">Text here</p>
#0c2871 Background Color
This box has a background color of #0c2871
<div style="background-color:#0c2871">Text here</div>
#0c2871 Border Color
This box has a border color of #0c2871
<div style="border: 4px solid #0c2871">Text here</div>
CSS codes
<p style="color:#0c2871">Text here</p>
<div style="background-color:#0c2871">Text here</div>
<div style="border: 4px solid #0c2871">Text here</div>
#0c2871 Color on white background
This is how a font and box color of #0c2871 will look
on a white background.
#0c2871 Color on black background
This is how a font and box color of #0c2871 hex color will look
on a black background.