In RGB color space, #31187d hex color has a red value of 49, a green value of 24 and a blue value of 125.
In CMYK color space (used in color printing), #31187d hex color is composed of 60.8% cyan, 80.8% magenta, 0% yellow and 50.98% black.
#31187d color has a hue of 254.9 degrees, a saturation of 67.79% and a lightness of 29.2%.
#31187d hex color contains mainly BLUE.
The closest web safe color of #31187d is #330066
#31187d hex color has a decimal value of 3217533.
HEX | 31187d | #31187d |
---|---|---|
RGB | 49, 24, 125 | rgb(49, 24, 125) |
RGB Percent | 19.22, 9.41, 49.02 | rgb(19.22, 9.41, 49.02) |
CMYK | 61, 81, 0, 51 | |
HSL | 254.9°, 67.79, 29.2 | hsl(254.9, 67.79%, 29.2%) |
HSV | 254.9°, 80.8, 49 |
XYZ | 5.295, 2.787, 19.661 |
---|---|
Hunter Lab | 16.694, 27.401, -58.14 |
CIE-LAB | 19.17, 39.367, -52.406 |
CIE-LCH | 19.17, 65.545, 306.914 |
CIE-LUV | 60.8, 80.8, 0, 50.98 |
Web Safe | 330066 |
RGB percent of color #31187d
CMYK percent of color #31187d
Text with hexadecimal color #31187d
This text has a font color of #31187d
<p style="color:#31187d">Text here</p>
#31187d Background Color
This box has a background color of #31187d
<div style="background-color:#31187d">Text here</div>
#31187d Border Color
This box has a border color of #31187d
<div style="border: 4px solid #31187d">Text here</div>
CSS codes
<p style="color:#31187d">Text here</p>
<div style="background-color:#31187d">Text here</div>
<div style="border: 4px solid #31187d">Text here</div>
#31187d Color on white background
This is how a font and box color of #31187d will look
on a white background.
#31187d Color on black background
This is how a font and box color of #31187d hex color will look
on a black background.