In RGB color space, #312798 hex color has a red value of 49, a green value of 39 and a blue value of 152.
In CMYK color space (used in color printing), #312798 hex color is composed of 67.76% cyan, 74.34% magenta, 0% yellow and 40.39% black.
#312798 color has a hue of 245.3 degrees, a saturation of 59.16% and a lightness of 37.5%.
#312798 hex color contains mainly BLUE.
The closest web safe color of #312798 is #333399
#312798 hex color has a decimal value of 3221400.
HEX | 312798 | #312798 |
---|---|---|
RGB | 49, 39, 152 | rgb(49, 39, 152) |
RGB Percent | 19.22, 15.29, 59.61 | rgb(19.22, 15.29, 59.61) |
CMYK | 68, 74, 0, 40 | |
HSL | 245.3°, 59.16, 37.5 | hsl(245.3, 59.16%, 37.5%) |
HSV | 245.3°, 74.3, 59.6 |
XYZ | 7.66, 4.371, 30.146 |
---|---|
Hunter Lab | 20.907, 28.813, -70.856 |
CIE-LAB | 24.862, 39.845, -59.901 |
CIE-LCH | 24.862, 71.943, 303.631 |
CIE-LUV | 67.76, 74.34, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #312798
CMYK percent of color #312798
Text with hexadecimal color #312798
This text has a font color of #312798
<p style="color:#312798">Text here</p>
#312798 Background Color
This box has a background color of #312798
<div style="background-color:#312798">Text here</div>
#312798 Border Color
This box has a border color of #312798
<div style="border: 4px solid #312798">Text here</div>
CSS codes
<p style="color:#312798">Text here</p>
<div style="background-color:#312798">Text here</div>
<div style="border: 4px solid #312798">Text here</div>
#312798 Color on white background
This is how a font and box color of #312798 will look
on a white background.
#312798 Color on black background
This is how a font and box color of #312798 hex color will look
on a black background.