In RGB color space, #0c31ff hex color has a red value of 12, a green value of 49 and a blue value of 255.
In CMYK color space (used in color printing), #0c31ff hex color is composed of 95.29% cyan, 80.78% magenta, 0% yellow and 0% black.
#0c31ff color has a hue of 230.9 degrees, a saturation of 100% and a lightness of 52.4%.
#0c31ff hex color contains mainly BLUE.
The closest web safe color of #0c31ff is #0033ff
#0c31ff hex color has a decimal value of 799231.
HEX | 0c31ff | #0c31ff |
---|---|---|
RGB | 12, 49, 255 | rgb(12, 49, 255) |
RGB Percent | 4.71, 19.22, 100 | rgb(4.71, 19.22, 100) |
CMYK | 95, 81, 0, 0 | |
HSL | 230.9°, 100, 52.4 | hsl(230.9, 100%, 52.4%) |
HSV | 230.9°, 95.3, 100 |
XYZ | 19.3, 9.495, 95.423 |
---|---|
Hunter Lab | 30.814, 57.877, -162.036 |
CIE-LAB | 36.92, 65.779, -100.152 |
CIE-LCH | 36.92, 119.822, 303.297 |
CIE-LUV | 95.29, 80.78, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0c31ff
CMYK percent of color #0c31ff
Text with hexadecimal color #0c31ff
This text has a font color of #0c31ff
<p style="color:#0c31ff">Text here</p>
#0c31ff Background Color
This box has a background color of #0c31ff
<div style="background-color:#0c31ff">Text here</div>
#0c31ff Border Color
This box has a border color of #0c31ff
<div style="border: 4px solid #0c31ff">Text here</div>
CSS codes
<p style="color:#0c31ff">Text here</p>
<div style="background-color:#0c31ff">Text here</div>
<div style="border: 4px solid #0c31ff">Text here</div>
#0c31ff Color on white background
This is how a font and box color of #0c31ff will look
on a white background.
#0c31ff Color on black background
This is how a font and box color of #0c31ff hex color will look
on a black background.