In RGB color space, #311b5f hex color has a red value of 49, a green value of 27 and a blue value of 95.
In CMYK color space (used in color printing), #311b5f hex color is composed of 48.42% cyan, 71.58% magenta, 0% yellow and 62.75% black.
#311b5f color has a hue of 259.4 degrees, a saturation of 55.74% and a lightness of 23.9%.
#311b5f hex color contains mainly BLUE.
The closest web safe color of #311b5f is #333366
#311b5f hex color has a decimal value of 3218271.
HEX | 311b5f | #311b5f |
---|---|---|
RGB | 49, 27, 95 | rgb(49, 27, 95) |
RGB Percent | 19.22, 10.59, 37.25 | rgb(19.22, 10.59, 37.25) |
CMYK | 48, 72, 0, 63 | |
HSL | 259.4°, 55.74, 23.9 | hsl(259.4, 55.74%, 23.9%) |
HSV | 259.4°, 71.6, 37.3 |
XYZ | 3.724, 2.263, 11.067 |
---|---|
Hunter Lab | 15.043, 17.862, -33.088 |
CIE-LAB | 16.811, 28.395, -36.766 |
CIE-LCH | 16.811, 46.454, 307.68 |
CIE-LUV | 48.42, 71.58, 0, 62.75 |
Web Safe | 333366 |
RGB percent of color #311b5f
CMYK percent of color #311b5f
Text with hexadecimal color #311b5f
This text has a font color of #311b5f
<p style="color:#311b5f">Text here</p>
#311b5f Background Color
This box has a background color of #311b5f
<div style="background-color:#311b5f">Text here</div>
#311b5f Border Color
This box has a border color of #311b5f
<div style="border: 4px solid #311b5f">Text here</div>
CSS codes
<p style="color:#311b5f">Text here</p>
<div style="background-color:#311b5f">Text here</div>
<div style="border: 4px solid #311b5f">Text here</div>
#311b5f Color on white background
This is how a font and box color of #311b5f will look
on a white background.
#311b5f Color on black background
This is how a font and box color of #311b5f hex color will look
on a black background.