In RGB color space, #31315b hex color has a red value of 49, a green value of 49 and a blue value of 91.
In CMYK color space (used in color printing), #31315b hex color is composed of 46.15% cyan, 46.15% magenta, 0% yellow and 64.31% black.
#31315b color has a hue of 240 degrees, a saturation of 30% and a lightness of 27.5%.
#31315b hex color contains mainly BLUE.
The closest web safe color of #31315b is #333366
#31315b hex color has a decimal value of 3223899.
HEX | 31315b | #31315b |
---|---|---|
RGB | 49, 49, 91 | rgb(49, 49, 91) |
RGB Percent | 19.22, 19.22, 35.69 | rgb(19.22, 19.22, 35.69) |
CMYK | 46, 46, 0, 64 | |
HSL | 240°, 30, 27.5 | hsl(240, 30%, 27.5%) |
HSV | 240°, 46.2, 35.7 |
XYZ | 4.253, 3.605, 10.369 |
---|---|
Hunter Lab | 18.987, 6.757, -19.088 |
CIE-LAB | 22.32, 12.337, -25.263 |
CIE-LCH | 22.32, 28.114, 296.028 |
CIE-LUV | 46.15, 46.15, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #31315b
CMYK percent of color #31315b
Text with hexadecimal color #31315b
This text has a font color of #31315b
<p style="color:#31315b">Text here</p>
#31315b Background Color
This box has a background color of #31315b
<div style="background-color:#31315b">Text here</div>
#31315b Border Color
This box has a border color of #31315b
<div style="border: 4px solid #31315b">Text here</div>
CSS codes
<p style="color:#31315b">Text here</p>
<div style="background-color:#31315b">Text here</div>
<div style="border: 4px solid #31315b">Text here</div>
#31315b Color on white background
This is how a font and box color of #31315b will look
on a white background.
#31315b Color on black background
This is how a font and box color of #31315b hex color will look
on a black background.