In RGB color space, #311f8a hex color has a red value of 49, a green value of 31 and a blue value of 138.
In CMYK color space (used in color printing), #311f8a hex color is composed of 64.49% cyan, 77.54% magenta, 0% yellow and 45.88% black.
#311f8a color has a hue of 250.1 degrees, a saturation of 63.31% and a lightness of 33.1%.
#311f8a hex color contains mainly BLUE.
The closest web safe color of #311f8a is #333399
#311f8a hex color has a decimal value of 3219338.
HEX | 311f8a | #311f8a |
---|---|---|
RGB | 49, 31, 138 | rgb(49, 31, 138) |
RGB Percent | 19.22, 12.16, 54.12 | rgb(19.22, 12.16, 54.12) |
CMYK | 64, 78, 0, 46 | |
HSL | 250.1°, 63.31, 33.1 | hsl(250.1, 63.31%, 33.1%) |
HSV | 250.1°, 77.5, 54.1 |
XYZ | 6.344, 3.468, 24.38 |
---|---|
Hunter Lab | 18.623, 28.219, -64.585 |
CIE-LAB | 21.828, 39.767, -56.226 |
CIE-LCH | 21.828, 68.868, 305.271 |
CIE-LUV | 64.49, 77.54, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #311f8a
CMYK percent of color #311f8a
Text with hexadecimal color #311f8a
This text has a font color of #311f8a
<p style="color:#311f8a">Text here</p>
#311f8a Background Color
This box has a background color of #311f8a
<div style="background-color:#311f8a">Text here</div>
#311f8a Border Color
This box has a border color of #311f8a
<div style="border: 4px solid #311f8a">Text here</div>
CSS codes
<p style="color:#311f8a">Text here</p>
<div style="background-color:#311f8a">Text here</div>
<div style="border: 4px solid #311f8a">Text here</div>
#311f8a Color on white background
This is how a font and box color of #311f8a will look
on a white background.
#311f8a Color on black background
This is how a font and box color of #311f8a hex color will look
on a black background.