In RGB color space, #312498 hex color has a red value of 49, a green value of 36 and a blue value of 152.
In CMYK color space (used in color printing), #312498 hex color is composed of 67.76% cyan, 76.32% magenta, 0% yellow and 40.39% black.
#312498 color has a hue of 246.7 degrees, a saturation of 61.7% and a lightness of 36.9%.
#312498 hex color contains mainly BLUE.
The closest web safe color of #312498 is #333399
#312498 hex color has a decimal value of 3220632.
HEX | 312498 | #312498 |
---|---|---|
RGB | 49, 36, 152 | rgb(49, 36, 152) |
RGB Percent | 19.22, 14.12, 59.61 | rgb(19.22, 14.12, 59.61) |
CMYK | 68, 76, 0, 40 | |
HSL | 246.7°, 61.7, 36.9 | hsl(246.7, 61.7%, 36.9%) |
HSV | 246.7°, 76.3, 59.6 |
XYZ | 7.565, 4.182, 30.114 |
---|---|
Hunter Lab | 20.45, 30.245, -72.994 |
CIE-LAB | 24.264, 41.524, -60.885 |
CIE-LCH | 24.264, 73.697, 304.294 |
CIE-LUV | 67.76, 76.32, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #312498
CMYK percent of color #312498
Text with hexadecimal color #312498
This text has a font color of #312498
<p style="color:#312498">Text here</p>
#312498 Background Color
This box has a background color of #312498
<div style="background-color:#312498">Text here</div>
#312498 Border Color
This box has a border color of #312498
<div style="border: 4px solid #312498">Text here</div>
CSS codes
<p style="color:#312498">Text here</p>
<div style="background-color:#312498">Text here</div>
<div style="border: 4px solid #312498">Text here</div>
#312498 Color on white background
This is how a font and box color of #312498 will look
on a white background.
#312498 Color on black background
This is how a font and box color of #312498 hex color will look
on a black background.