In RGB color space, #0c315d hex color has a red value of 12, a green value of 49 and a blue value of 93.
In CMYK color space (used in color printing), #0c315d hex color is composed of 87.1% cyan, 47.31% magenta, 0% yellow and 63.53% black.
#0c315d color has a hue of 212.6 degrees, a saturation of 77.14% and a lightness of 20.6%.
#0c315d hex color contains mainly BLUE.
The closest web safe color of #0c315d is #003366
#0c315d hex color has a decimal value of 799069.
HEX | 0c315d | #0c315d |
---|---|---|
RGB | 12, 49, 93 | rgb(12, 49, 93) |
RGB Percent | 4.71, 19.22, 36.47 | rgb(4.71, 19.22, 36.47) |
CMYK | 87, 47, 0, 64 | |
HSL | 212.6°, 77.14, 20.6 | hsl(212.6, 77.14%, 20.6%) |
HSV | 212.6°, 87.1, 36.5 |
XYZ | 3.226, 3.065, 10.778 |
---|---|
Hunter Lab | 17.507, 2.254, -24.246 |
CIE-LAB | 20.302, 5.411, -29.927 |
CIE-LCH | 20.302, 30.412, 280.249 |
CIE-LUV | 87.1, 47.31, 0, 63.53 |
Web Safe | 003366 |
RGB percent of color #0c315d
CMYK percent of color #0c315d
Text with hexadecimal color #0c315d
This text has a font color of #0c315d
<p style="color:#0c315d">Text here</p>
#0c315d Background Color
This box has a background color of #0c315d
<div style="background-color:#0c315d">Text here</div>
#0c315d Border Color
This box has a border color of #0c315d
<div style="border: 4px solid #0c315d">Text here</div>
CSS codes
<p style="color:#0c315d">Text here</p>
<div style="background-color:#0c315d">Text here</div>
<div style="border: 4px solid #0c315d">Text here</div>
#0c315d Color on white background
This is how a font and box color of #0c315d will look
on a white background.
#0c315d Color on black background
This is how a font and box color of #0c315d hex color will look
on a black background.