In RGB color space, #0c31c2 hex color has a red value of 12, a green value of 49 and a blue value of 194.
In CMYK color space (used in color printing), #0c31c2 hex color is composed of 93.81% cyan, 74.74% magenta, 0% yellow and 23.92% black.
#0c31c2 color has a hue of 227.8 degrees, a saturation of 88.35% and a lightness of 40.4%.
#0c31c2 hex color contains mainly BLUE.
The closest web safe color of #0c31c2 is #0033cc
#0c31c2 hex color has a decimal value of 799170.
HEX | 0c31c2 | #0c31c2 |
---|---|---|
RGB | 12, 49, 194 | rgb(12, 49, 194) |
RGB Percent | 4.71, 19.22, 76.08 | rgb(4.71, 19.22, 76.08) |
CMYK | 94, 75, 0, 24 | |
HSL | 227.8°, 88.35, 40.4 | hsl(227.8, 88.35%, 40.4%) |
HSV | 227.8°, 93.8, 76.1 |
XYZ | 10.988, 6.17, 51.651 |
---|---|
Hunter Lab | 24.839, 35.492, -105.899 |
CIE-LAB | 29.837, 45.999, -76.95 |
CIE-LCH | 29.837, 89.65, 300.87 |
CIE-LUV | 93.81, 74.74, 0, 23.92 |
Web Safe | 0033cc |
RGB percent of color #0c31c2
CMYK percent of color #0c31c2
Text with hexadecimal color #0c31c2
This text has a font color of #0c31c2
<p style="color:#0c31c2">Text here</p>
#0c31c2 Background Color
This box has a background color of #0c31c2
<div style="background-color:#0c31c2">Text here</div>
#0c31c2 Border Color
This box has a border color of #0c31c2
<div style="border: 4px solid #0c31c2">Text here</div>
CSS codes
<p style="color:#0c31c2">Text here</p>
<div style="background-color:#0c31c2">Text here</div>
<div style="border: 4px solid #0c31c2">Text here</div>
#0c31c2 Color on white background
This is how a font and box color of #0c31c2 will look
on a white background.
#0c31c2 Color on black background
This is how a font and box color of #0c31c2 hex color will look
on a black background.