In RGB color space, #31187e hex color has a red value of 49, a green value of 24 and a blue value of 126.
In CMYK color space (used in color printing), #31187e hex color is composed of 61.11% cyan, 80.95% magenta, 0% yellow and 50.59% black.
#31187e color has a hue of 254.7 degrees, a saturation of 68% and a lightness of 29.4%.
#31187e hex color contains mainly BLUE.
The closest web safe color of #31187e is #330066
#31187e hex color has a decimal value of 3217534.
HEX | 31187e | #31187e |
---|---|---|
RGB | 49, 24, 126 | rgb(49, 24, 126) |
RGB Percent | 19.22, 9.41, 49.41 | rgb(19.22, 9.41, 49.41) |
CMYK | 61, 81, 0, 51 | |
HSL | 254.7°, 68, 29.4 | hsl(254.7, 68%, 29.4%) |
HSV | 254.7°, 81, 49.4 |
XYZ | 5.359, 2.813, 19.999 |
---|---|
Hunter Lab | 16.772, 27.683, -58.957 |
CIE-LAB | 19.279, 39.664, -52.862 |
CIE-LCH | 19.279, 66.088, 306.882 |
CIE-LUV | 61.11, 80.95, 0, 50.59 |
Web Safe | 330066 |
RGB percent of color #31187e
CMYK percent of color #31187e
Text with hexadecimal color #31187e
This text has a font color of #31187e
<p style="color:#31187e">Text here</p>
#31187e Background Color
This box has a background color of #31187e
<div style="background-color:#31187e">Text here</div>
#31187e Border Color
This box has a border color of #31187e
<div style="border: 4px solid #31187e">Text here</div>
CSS codes
<p style="color:#31187e">Text here</p>
<div style="background-color:#31187e">Text here</div>
<div style="border: 4px solid #31187e">Text here</div>
#31187e Color on white background
This is how a font and box color of #31187e will look
on a white background.
#31187e Color on black background
This is how a font and box color of #31187e hex color will look
on a black background.