In RGB color space, #311d8c hex color has a red value of 49, a green value of 29 and a blue value of 140.
In CMYK color space (used in color printing), #311d8c hex color is composed of 65% cyan, 79.29% magenta, 0% yellow and 45.1% black.
#311d8c color has a hue of 250.8 degrees, a saturation of 65.68% and a lightness of 33.1%.
#311d8c hex color contains mainly BLUE.
The closest web safe color of #311d8c is #333399
#311d8c hex color has a decimal value of 3218828.
HEX | 311d8c | #311d8c |
---|---|---|
RGB | 49, 29, 140 | rgb(49, 29, 140) |
RGB Percent | 19.22, 11.37, 54.9 | rgb(19.22, 11.37, 54.9) |
CMYK | 65, 79, 0, 45 | |
HSL | 250.8°, 65.68, 33.1 | hsl(250.8, 65.68%, 33.1%) |
HSV | 250.8°, 79.3, 54.9 |
XYZ | 6.44, 3.425, 25.133 |
---|---|
Hunter Lab | 18.507, 29.728, -67.564 |
CIE-LAB | 21.671, 41.462, -57.734 |
CIE-LCH | 21.671, 71.08, 305.684 |
CIE-LUV | 65, 79.29, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #311d8c
CMYK percent of color #311d8c
Text with hexadecimal color #311d8c
This text has a font color of #311d8c
<p style="color:#311d8c">Text here</p>
#311d8c Background Color
This box has a background color of #311d8c
<div style="background-color:#311d8c">Text here</div>
#311d8c Border Color
This box has a border color of #311d8c
<div style="border: 4px solid #311d8c">Text here</div>
CSS codes
<p style="color:#311d8c">Text here</p>
<div style="background-color:#311d8c">Text here</div>
<div style="border: 4px solid #311d8c">Text here</div>
#311d8c Color on white background
This is how a font and box color of #311d8c will look
on a white background.
#311d8c Color on black background
This is how a font and box color of #311d8c hex color will look
on a black background.