In RGB color space, #0c2d8c hex color has a red value of 12, a green value of 45 and a blue value of 140.
In CMYK color space (used in color printing), #0c2d8c hex color is composed of 91.43% cyan, 67.86% magenta, 0% yellow and 45.1% black.
#0c2d8c color has a hue of 224.5 degrees, a saturation of 84.21% and a lightness of 29.8%.
#0c2d8c hex color contains mainly BLUE.
The closest web safe color of #0c2d8c is #003399
#0c2d8c hex color has a decimal value of 798092.
HEX | 0c2d8c | #0c2d8c |
---|---|---|
RGB | 12, 45, 140 | rgb(12, 45, 140) |
RGB Percent | 4.71, 17.65, 54.9 | rgb(4.71, 17.65, 54.9) |
CMYK | 91, 68, 0, 45 | |
HSL | 224.5°, 84.21, 29.8 | hsl(224.5, 84.21%, 29.8%) |
HSV | 224.5°, 91.4, 54.9 |
XYZ | 5.824, 3.848, 25.247 |
---|---|
Hunter Lab | 19.616, 18.667, -62.577 |
CIE-LAB | 23.162, 28.317, -55.349 |
CIE-LCH | 23.162, 62.172, 297.095 |
CIE-LUV | 91.43, 67.86, 0, 45.1 |
Web Safe | 003399 |
RGB percent of color #0c2d8c
CMYK percent of color #0c2d8c
Text with hexadecimal color #0c2d8c
This text has a font color of #0c2d8c
<p style="color:#0c2d8c">Text here</p>
#0c2d8c Background Color
This box has a background color of #0c2d8c
<div style="background-color:#0c2d8c">Text here</div>
#0c2d8c Border Color
This box has a border color of #0c2d8c
<div style="border: 4px solid #0c2d8c">Text here</div>
CSS codes
<p style="color:#0c2d8c">Text here</p>
<div style="background-color:#0c2d8c">Text here</div>
<div style="border: 4px solid #0c2d8c">Text here</div>
#0c2d8c Color on white background
This is how a font and box color of #0c2d8c will look
on a white background.
#0c2d8c Color on black background
This is how a font and box color of #0c2d8c hex color will look
on a black background.