In RGB color space, #311d8e hex color has a red value of 49, a green value of 29 and a blue value of 142.
In CMYK color space (used in color printing), #311d8e hex color is composed of 65.49% cyan, 79.58% magenta, 0% yellow and 44.31% black.
#311d8e color has a hue of 250.6 degrees, a saturation of 66.08% and a lightness of 33.5%.
#311d8e hex color contains mainly BLUE.
The closest web safe color of #311d8e is #333399
#311d8e hex color has a decimal value of 3218830.
HEX | 311d8e | #311d8e |
---|---|---|
RGB | 49, 29, 142 | rgb(49, 29, 142) |
RGB Percent | 19.22, 11.37, 55.69 | rgb(19.22, 11.37, 55.69) |
CMYK | 65, 80, 0, 44 | |
HSL | 250.6°, 66.08, 33.5 | hsl(250.6, 66.08%, 33.5%) |
HSV | 250.6°, 79.6, 55.7 |
XYZ | 6.588, 3.485, 25.917 |
---|---|
Hunter Lab | 18.668, 30.323, -69.245 |
CIE-LAB | 21.89, 42.069, -58.62 |
CIE-LCH | 21.89, 72.153, 305.665 |
CIE-LUV | 65.49, 79.58, 0, 44.31 |
Web Safe | 333399 |
RGB percent of color #311d8e
CMYK percent of color #311d8e
Text with hexadecimal color #311d8e
This text has a font color of #311d8e
<p style="color:#311d8e">Text here</p>
#311d8e Background Color
This box has a background color of #311d8e
<div style="background-color:#311d8e">Text here</div>
#311d8e Border Color
This box has a border color of #311d8e
<div style="border: 4px solid #311d8e">Text here</div>
CSS codes
<p style="color:#311d8e">Text here</p>
<div style="background-color:#311d8e">Text here</div>
<div style="border: 4px solid #311d8e">Text here</div>
#311d8e Color on white background
This is how a font and box color of #311d8e will look
on a white background.
#311d8e Color on black background
This is how a font and box color of #311d8e hex color will look
on a black background.