In RGB color space, #0c31a4 hex color has a red value of 12, a green value of 49 and a blue value of 164.
In CMYK color space (used in color printing), #0c31a4 hex color is composed of 92.68% cyan, 70.12% magenta, 0% yellow and 35.69% black.
#0c31a4 color has a hue of 225.4 degrees, a saturation of 86.36% and a lightness of 34.5%.
#0c31a4 hex color contains mainly BLUE.
The closest web safe color of #0c31a4 is #003399
#0c31a4 hex color has a decimal value of 799140.
HEX | 0c31a4 | #0c31a4 |
---|---|---|
RGB | 12, 49, 164 | rgb(12, 49, 164) |
RGB Percent | 4.71, 19.22, 64.31 | rgb(4.71, 19.22, 64.31) |
CMYK | 93, 70, 0, 36 | |
HSL | 225.4°, 86.36, 34.5 | hsl(225.4, 86.36%, 34.5%) |
HSV | 225.4°, 92.7, 64.3 |
XYZ | 7.951, 4.955, 35.659 |
---|---|
Hunter Lab | 22.26, 24.804, -79.397 |
CIE-LAB | 26.606, 35.027, -64.399 |
CIE-LCH | 26.606, 73.308, 298.542 |
CIE-LUV | 92.68, 70.12, 0, 35.69 |
Web Safe | 003399 |
RGB percent of color #0c31a4
CMYK percent of color #0c31a4
Text with hexadecimal color #0c31a4
This text has a font color of #0c31a4
<p style="color:#0c31a4">Text here</p>
#0c31a4 Background Color
This box has a background color of #0c31a4
<div style="background-color:#0c31a4">Text here</div>
#0c31a4 Border Color
This box has a border color of #0c31a4
<div style="border: 4px solid #0c31a4">Text here</div>
CSS codes
<p style="color:#0c31a4">Text here</p>
<div style="background-color:#0c31a4">Text here</div>
<div style="border: 4px solid #0c31a4">Text here</div>
#0c31a4 Color on white background
This is how a font and box color of #0c31a4 will look
on a white background.
#0c31a4 Color on black background
This is how a font and box color of #0c31a4 hex color will look
on a black background.