In RGB color space, #0c31a3 hex color has a red value of 12, a green value of 49 and a blue value of 163.
In CMYK color space (used in color printing), #0c31a3 hex color is composed of 92.64% cyan, 69.94% magenta, 0% yellow and 36.08% black.
#0c31a3 color has a hue of 225.3 degrees, a saturation of 86.29% and a lightness of 34.3%.
#0c31a3 hex color contains mainly BLUE.
The closest web safe color of #0c31a3 is #003399
#0c31a3 hex color has a decimal value of 799139.
HEX | 0c31a3 | #0c31a3 |
---|---|---|
RGB | 12, 49, 163 | rgb(12, 49, 163) |
RGB Percent | 4.71, 19.22, 63.92 | rgb(4.71, 19.22, 63.92) |
CMYK | 93, 70, 0, 36 | |
HSL | 225.3°, 86.29, 34.3 | hsl(225.3, 86.29%, 34.3%) |
HSV | 225.3°, 92.6, 63.9 |
XYZ | 7.861, 4.919, 35.186 |
---|---|
Hunter Lab | 22.179, 24.454, -78.537 |
CIE-LAB | 26.503, 34.645, -63.965 |
CIE-LCH | 26.503, 72.745, 298.441 |
CIE-LUV | 92.64, 69.94, 0, 36.08 |
Web Safe | 003399 |
RGB percent of color #0c31a3
CMYK percent of color #0c31a3
Text with hexadecimal color #0c31a3
This text has a font color of #0c31a3
<p style="color:#0c31a3">Text here</p>
#0c31a3 Background Color
This box has a background color of #0c31a3
<div style="background-color:#0c31a3">Text here</div>
#0c31a3 Border Color
This box has a border color of #0c31a3
<div style="border: 4px solid #0c31a3">Text here</div>
CSS codes
<p style="color:#0c31a3">Text here</p>
<div style="background-color:#0c31a3">Text here</div>
<div style="border: 4px solid #0c31a3">Text here</div>
#0c31a3 Color on white background
This is how a font and box color of #0c31a3 will look
on a white background.
#0c31a3 Color on black background
This is how a font and box color of #0c31a3 hex color will look
on a black background.