In RGB color space, #0c315b hex color has a red value of 12, a green value of 49 and a blue value of 91.
In CMYK color space (used in color printing), #0c315b hex color is composed of 86.81% cyan, 46.15% magenta, 0% yellow and 64.31% black.
#0c315b color has a hue of 211.9 degrees, a saturation of 76.7% and a lightness of 20.2%.
#0c315b hex color contains mainly BLUE.
The closest web safe color of #0c315b is #003366
#0c315b hex color has a decimal value of 799067.
HEX | 0c315b | #0c315b |
---|---|---|
RGB | 12, 49, 91 | rgb(12, 49, 91) |
RGB Percent | 4.71, 19.22, 35.69 | rgb(4.71, 19.22, 35.69) |
CMYK | 87, 46, 0, 64 | |
HSL | 211.9°, 76.7, 20.2 | hsl(211.9, 76.7%, 20.2%) |
HSV | 211.9°, 86.8, 35.7 |
XYZ | 3.138, 3.03, 10.317 |
---|---|
Hunter Lab | 17.407, 1.717, -22.956 |
CIE-LAB | 20.164, 4.524, -28.828 |
CIE-LCH | 20.164, 29.181, 278.919 |
CIE-LUV | 86.81, 46.15, 0, 64.31 |
Web Safe | 003366 |
RGB percent of color #0c315b
CMYK percent of color #0c315b
Text with hexadecimal color #0c315b
This text has a font color of #0c315b
<p style="color:#0c315b">Text here</p>
#0c315b Background Color
This box has a background color of #0c315b
<div style="background-color:#0c315b">Text here</div>
#0c315b Border Color
This box has a border color of #0c315b
<div style="border: 4px solid #0c315b">Text here</div>
CSS codes
<p style="color:#0c315b">Text here</p>
<div style="background-color:#0c315b">Text here</div>
<div style="border: 4px solid #0c315b">Text here</div>
#0c315b Color on white background
This is how a font and box color of #0c315b will look
on a white background.
#0c315b Color on black background
This is how a font and box color of #0c315b hex color will look
on a black background.