In RGB color space, #312ca8 hex color has a red value of 49, a green value of 44 and a blue value of 168.
In CMYK color space (used in color printing), #312ca8 hex color is composed of 70.83% cyan, 73.81% magenta, 0% yellow and 34.12% black.
#312ca8 color has a hue of 242.4 degrees, a saturation of 58.49% and a lightness of 41.6%.
#312ca8 hex color contains mainly BLUE.
The closest web safe color of #312ca8 is #333399
#312ca8 hex color has a decimal value of 3222696.
HEX | 312ca8 | #312ca8 |
---|---|---|
RGB | 49, 44, 168 | rgb(49, 44, 168) |
RGB Percent | 19.22, 17.25, 65.88 | rgb(19.22, 17.25, 65.88) |
CMYK | 71, 74, 0, 34 | |
HSL | 242.4°, 58.49, 41.6 | hsl(242.4, 58.49%, 41.6%) |
HSV | 242.4°, 73.8, 65.9 |
XYZ | 9.235, 5.281, 37.578 |
---|---|
Hunter Lab | 22.98, 31.517, -80.866 |
CIE-LAB | 27.521, 42.274, -65.252 |
CIE-LCH | 27.521, 77.749, 302.937 |
CIE-LUV | 70.83, 73.81, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #312ca8
CMYK percent of color #312ca8
Text with hexadecimal color #312ca8
This text has a font color of #312ca8
<p style="color:#312ca8">Text here</p>
#312ca8 Background Color
This box has a background color of #312ca8
<div style="background-color:#312ca8">Text here</div>
#312ca8 Border Color
This box has a border color of #312ca8
<div style="border: 4px solid #312ca8">Text here</div>
CSS codes
<p style="color:#312ca8">Text here</p>
<div style="background-color:#312ca8">Text here</div>
<div style="border: 4px solid #312ca8">Text here</div>
#312ca8 Color on white background
This is how a font and box color of #312ca8 will look
on a white background.
#312ca8 Color on black background
This is how a font and box color of #312ca8 hex color will look
on a black background.