In RGB color space, #0c31cc hex color has a red value of 12, a green value of 49 and a blue value of 204.
In CMYK color space (used in color printing), #0c31cc hex color is composed of 94.12% cyan, 75.98% magenta, 0% yellow and 20% black.
#0c31cc color has a hue of 228.4 degrees, a saturation of 88.89% and a lightness of 42.4%.
#0c31cc hex color contains mainly BLUE.
The closest web safe color of #0c31cc is #0033cc
#0c31cc hex color has a decimal value of 799180.
HEX | 0c31cc | #0c31cc |
---|---|---|
RGB | 12, 49, 204 | rgb(12, 49, 204) |
RGB Percent | 4.71, 19.22, 80 | rgb(4.71, 19.22, 80) |
CMYK | 94, 76, 0, 20 | |
HSL | 228.4°, 88.89, 42.4 | hsl(228.4, 88.89%, 42.4%) |
HSV | 228.4°, 94.1, 80 |
XYZ | 12.149, 6.634, 57.767 |
---|---|
Hunter Lab | 25.757, 39.122, -114.946 |
CIE-LAB | 30.959, 49.458, -80.945 |
CIE-LCH | 30.959, 94.859, 301.425 |
CIE-LUV | 94.12, 75.98, 0, 20 |
Web Safe | 0033cc |
RGB percent of color #0c31cc
CMYK percent of color #0c31cc
Text with hexadecimal color #0c31cc
This text has a font color of #0c31cc
<p style="color:#0c31cc">Text here</p>
#0c31cc Background Color
This box has a background color of #0c31cc
<div style="background-color:#0c31cc">Text here</div>
#0c31cc Border Color
This box has a border color of #0c31cc
<div style="border: 4px solid #0c31cc">Text here</div>
CSS codes
<p style="color:#0c31cc">Text here</p>
<div style="background-color:#0c31cc">Text here</div>
<div style="border: 4px solid #0c31cc">Text here</div>
#0c31cc Color on white background
This is how a font and box color of #0c31cc will look
on a white background.
#0c31cc Color on black background
This is how a font and box color of #0c31cc hex color will look
on a black background.