In RGB color space, #311d8a hex color has a red value of 49, a green value of 29 and a blue value of 138.
In CMYK color space (used in color printing), #311d8a hex color is composed of 64.49% cyan, 78.99% magenta, 0% yellow and 45.88% black.
#311d8a color has a hue of 251 degrees, a saturation of 65.27% and a lightness of 32.7%.
#311d8a hex color contains mainly BLUE.
The closest web safe color of #311d8a is #333399
#311d8a hex color has a decimal value of 3218826.
HEX | 311d8a | #311d8a |
---|---|---|
RGB | 49, 29, 138 | rgb(49, 29, 138) |
RGB Percent | 19.22, 11.37, 54.12 | rgb(19.22, 11.37, 54.12) |
CMYK | 64, 79, 0, 46 | |
HSL | 251°, 65.27, 32.7 | hsl(251, 65.27%, 32.7%) |
HSV | 251°, 79, 54.1 |
XYZ | 6.293, 3.367, 24.363 |
---|---|
Hunter Lab | 18.349, 29.106, -65.876 |
CIE-LAB | 21.458, 40.821, -56.837 |
CIE-LCH | 21.458, 69.977, 305.686 |
CIE-LUV | 64.49, 78.99, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #311d8a
CMYK percent of color #311d8a
Text with hexadecimal color #311d8a
This text has a font color of #311d8a
<p style="color:#311d8a">Text here</p>
#311d8a Background Color
This box has a background color of #311d8a
<div style="background-color:#311d8a">Text here</div>
#311d8a Border Color
This box has a border color of #311d8a
<div style="border: 4px solid #311d8a">Text here</div>
CSS codes
<p style="color:#311d8a">Text here</p>
<div style="background-color:#311d8a">Text here</div>
<div style="border: 4px solid #311d8a">Text here</div>
#311d8a Color on white background
This is how a font and box color of #311d8a will look
on a white background.
#311d8a Color on black background
This is how a font and box color of #311d8a hex color will look
on a black background.