In RGB color space, #311798 hex color has a red value of 49, a green value of 23 and a blue value of 152.
In CMYK color space (used in color printing), #311798 hex color is composed of 67.76% cyan, 84.87% magenta, 0% yellow and 40.39% black.
#311798 color has a hue of 252.1 degrees, a saturation of 73.71% and a lightness of 34.3%.
#311798 hex color contains mainly BLUE.
The closest web safe color of #311798 is #330099
#311798 hex color has a decimal value of 3217304.
HEX | 311798 | #311798 |
---|---|---|
RGB | 49, 23, 152 | rgb(49, 23, 152) |
RGB Percent | 19.22, 9.02, 59.61 | rgb(19.22, 9.02, 59.61) |
CMYK | 68, 85, 0, 40 | |
HSL | 252.1°, 73.71, 34.3 | hsl(252.1, 73.71%, 34.3%) |
HSV | 252.1°, 84.9, 59.6 |
XYZ | 7.241, 3.533, 30.006 |
---|---|
Hunter Lab | 18.796, 35.871, -81.492 |
CIE-LAB | 22.063, 47.896, -64.524 |
CIE-LCH | 22.063, 80.358, 306.586 |
CIE-LUV | 67.76, 84.87, 0, 40.39 |
Web Safe | 330099 |
RGB percent of color #311798
CMYK percent of color #311798
Text with hexadecimal color #311798
This text has a font color of #311798
<p style="color:#311798">Text here</p>
#311798 Background Color
This box has a background color of #311798
<div style="background-color:#311798">Text here</div>
#311798 Border Color
This box has a border color of #311798
<div style="border: 4px solid #311798">Text here</div>
CSS codes
<p style="color:#311798">Text here</p>
<div style="background-color:#311798">Text here</div>
<div style="border: 4px solid #311798">Text here</div>
#311798 Color on white background
This is how a font and box color of #311798 will look
on a white background.
#311798 Color on black background
This is how a font and box color of #311798 hex color will look
on a black background.