In RGB color space, #311f9d hex color has a red value of 49, a green value of 31 and a blue value of 157.
In CMYK color space (used in color printing), #311f9d hex color is composed of 68.79% cyan, 80.25% magenta, 0% yellow and 38.43% black.
#311f9d color has a hue of 248.6 degrees, a saturation of 67.02% and a lightness of 36.9%.
#311f9d hex color contains mainly BLUE.
The closest web safe color of #311f9d is #333399
#311f9d hex color has a decimal value of 3219357.
HEX | 311f9d | #311f9d |
---|---|---|
RGB | 49, 31, 157 | rgb(49, 31, 157) |
RGB Percent | 19.22, 12.16, 61.57 | rgb(19.22, 12.16, 61.57) |
CMYK | 69, 80, 0, 38 | |
HSL | 248.6°, 67.02, 36.9 | hsl(248.6, 67.02%, 36.9%) |
HSV | 248.6°, 80.3, 61.6 |
XYZ | 7.842, 4.067, 32.27 |
---|---|
Hunter Lab | 20.167, 34.119, -80.756 |
CIE-LAB | 23.892, 45.723, -64.566 |
CIE-LCH | 23.892, 79.116, 305.305 |
CIE-LUV | 68.79, 80.25, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #311f9d
CMYK percent of color #311f9d
Text with hexadecimal color #311f9d
This text has a font color of #311f9d
<p style="color:#311f9d">Text here</p>
#311f9d Background Color
This box has a background color of #311f9d
<div style="background-color:#311f9d">Text here</div>
#311f9d Border Color
This box has a border color of #311f9d
<div style="border: 4px solid #311f9d">Text here</div>
CSS codes
<p style="color:#311f9d">Text here</p>
<div style="background-color:#311f9d">Text here</div>
<div style="border: 4px solid #311f9d">Text here</div>
#311f9d Color on white background
This is how a font and box color of #311f9d will look
on a white background.
#311f9d Color on black background
This is how a font and box color of #311f9d hex color will look
on a black background.