In RGB color space, #0c2872 hex color has a red value of 12, a green value of 40 and a blue value of 114.
In CMYK color space (used in color printing), #0c2872 hex color is composed of 89.47% cyan, 64.91% magenta, 0% yellow and 55.29% black.
#0c2872 color has a hue of 223.5 degrees, a saturation of 80.95% and a lightness of 24.7%.
#0c2872 hex color contains mainly BLUE.
The closest web safe color of #0c2872 is #003366
#0c2872 hex color has a decimal value of 796786.
HEX | 0c2872 | #0c2872 |
---|---|---|
RGB | 12, 40, 114 | rgb(12, 40, 114) |
RGB Percent | 4.71, 15.69, 44.71 | rgb(4.71, 15.69, 44.71) |
CMYK | 89, 65, 0, 55 | |
HSL | 223.5°, 80.95, 24.7 | hsl(223.5, 80.95%, 24.7%) |
HSV | 223.5°, 89.5, 44.7 |
XYZ | 3.948, 2.811, 16.254 |
---|---|
Hunter Lab | 16.766, 12.692, -45.743 |
CIE-LAB | 19.27, 21.133, -45.284 |
CIE-LCH | 19.27, 49.972, 295.017 |
CIE-LUV | 89.47, 64.91, 0, 55.29 |
Web Safe | 003366 |
RGB percent of color #0c2872
CMYK percent of color #0c2872
Text with hexadecimal color #0c2872
This text has a font color of #0c2872
<p style="color:#0c2872">Text here</p>
#0c2872 Background Color
This box has a background color of #0c2872
<div style="background-color:#0c2872">Text here</div>
#0c2872 Border Color
This box has a border color of #0c2872
<div style="border: 4px solid #0c2872">Text here</div>
CSS codes
<p style="color:#0c2872">Text here</p>
<div style="background-color:#0c2872">Text here</div>
<div style="border: 4px solid #0c2872">Text here</div>
#0c2872 Color on white background
This is how a font and box color of #0c2872 will look
on a white background.
#0c2872 Color on black background
This is how a font and box color of #0c2872 hex color will look
on a black background.