In RGB color space, #31227e hex color has a red value of 49, a green value of 34 and a blue value of 126.
In CMYK color space (used in color printing), #31227e hex color is composed of 61.11% cyan, 73.02% magenta, 0% yellow and 50.59% black.
#31227e color has a hue of 249.8 degrees, a saturation of 57.5% and a lightness of 31.4%.
#31227e hex color contains mainly BLUE.
The closest web safe color of #31227e is #333366
#31227e hex color has a decimal value of 3220094.
HEX | 31227e | #31227e |
---|---|---|
RGB | 49, 34, 126 | rgb(49, 34, 126) |
RGB Percent | 19.22, 13.33, 49.41 | rgb(19.22, 13.33, 49.41) |
CMYK | 61, 73, 0, 51 | |
HSL | 249.8°, 57.5, 31.4 | hsl(249.8, 57.5%, 31.4%) |
HSV | 249.8°, 73, 49.4 |
XYZ | 5.605, 3.303, 20.081 |
---|---|
Hunter Lab | 18.174, 23.246, -52.789 |
CIE-LAB | 21.219, 34.192, -49.673 |
CIE-LCH | 21.219, 60.303, 304.541 |
CIE-LUV | 61.11, 73.02, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #31227e
CMYK percent of color #31227e
Text with hexadecimal color #31227e
This text has a font color of #31227e
<p style="color:#31227e">Text here</p>
#31227e Background Color
This box has a background color of #31227e
<div style="background-color:#31227e">Text here</div>
#31227e Border Color
This box has a border color of #31227e
<div style="border: 4px solid #31227e">Text here</div>
CSS codes
<p style="color:#31227e">Text here</p>
<div style="background-color:#31227e">Text here</div>
<div style="border: 4px solid #31227e">Text here</div>
#31227e Color on white background
This is how a font and box color of #31227e will look
on a white background.
#31227e Color on black background
This is how a font and box color of #31227e hex color will look
on a black background.