In RGB color space, #312797 hex color has a red value of 49, a green value of 39 and a blue value of 151.
In CMYK color space (used in color printing), #312797 hex color is composed of 67.55% cyan, 74.17% magenta, 0% yellow and 40.78% black.
#312797 color has a hue of 245.4 degrees, a saturation of 58.95% and a lightness of 37.3%.
#312797 hex color contains mainly BLUE.
The closest web safe color of #312797 is #333399
#312797 hex color has a decimal value of 3221399.
HEX | 312797 | #312797 |
---|---|---|
RGB | 49, 39, 151 | rgb(49, 39, 151) |
RGB Percent | 19.22, 15.29, 59.22 | rgb(19.22, 15.29, 59.22) |
CMYK | 68, 74, 0, 41 | |
HSL | 245.4°, 58.95, 37.3 | hsl(245.4, 58.95%, 37.3%) |
HSV | 245.4°, 74.2, 59.2 |
XYZ | 7.578, 4.338, 29.716 |
---|---|
Hunter Lab | 20.828, 28.497, -70.012 |
CIE-LAB | 24.759, 39.516, -59.456 |
CIE-LCH | 24.759, 71.39, 303.609 |
CIE-LUV | 67.55, 74.17, 0, 40.78 |
Web Safe | 333399 |
RGB percent of color #312797
CMYK percent of color #312797
Text with hexadecimal color #312797
This text has a font color of #312797
<p style="color:#312797">Text here</p>
#312797 Background Color
This box has a background color of #312797
<div style="background-color:#312797">Text here</div>
#312797 Border Color
This box has a border color of #312797
<div style="border: 4px solid #312797">Text here</div>
CSS codes
<p style="color:#312797">Text here</p>
<div style="background-color:#312797">Text here</div>
<div style="border: 4px solid #312797">Text here</div>
#312797 Color on white background
This is how a font and box color of #312797 will look
on a white background.
#312797 Color on black background
This is how a font and box color of #312797 hex color will look
on a black background.