In RGB color space, #0c2a5d hex color has a red value of 12, a green value of 42 and a blue value of 93.
In CMYK color space (used in color printing), #0c2a5d hex color is composed of 87.1% cyan, 54.84% magenta, 0% yellow and 63.53% black.
#0c2a5d color has a hue of 217.8 degrees, a saturation of 77.14% and a lightness of 20.6%.
#0c2a5d hex color contains mainly BLUE.
The closest web safe color of #0c2a5d is #003366
#0c2a5d hex color has a decimal value of 797277.
HEX | 0c2a5d | #0c2a5d |
---|---|---|
RGB | 12, 42, 93 | rgb(12, 42, 93) |
RGB Percent | 4.71, 16.47, 36.47 | rgb(4.71, 16.47, 36.47) |
CMYK | 87, 55, 0, 64 | |
HSL | 217.8°, 77.14, 20.6 | hsl(217.8, 77.14%, 20.6%) |
HSV | 217.8°, 87.1, 36.5 |
XYZ | 2.955, 2.524, 10.687 |
---|---|
Hunter Lab | 15.887, 5.399, -28.762 |
CIE-LAB | 18.027, 10.553, -33.589 |
CIE-LCH | 18.027, 35.208, 287.442 |
CIE-LUV | 87.1, 54.84, 0, 63.53 |
Web Safe | 003366 |
RGB percent of color #0c2a5d
CMYK percent of color #0c2a5d
Text with hexadecimal color #0c2a5d
This text has a font color of #0c2a5d
<p style="color:#0c2a5d">Text here</p>
#0c2a5d Background Color
This box has a background color of #0c2a5d
<div style="background-color:#0c2a5d">Text here</div>
#0c2a5d Border Color
This box has a border color of #0c2a5d
<div style="border: 4px solid #0c2a5d">Text here</div>
CSS codes
<p style="color:#0c2a5d">Text here</p>
<div style="background-color:#0c2a5d">Text here</div>
<div style="border: 4px solid #0c2a5d">Text here</div>
#0c2a5d Color on white background
This is how a font and box color of #0c2a5d will look
on a white background.
#0c2a5d Color on black background
This is how a font and box color of #0c2a5d hex color will look
on a black background.