In RGB color space, #5f31bb hex color has a red value of 95, a green value of 49 and a blue value of 187.
In CMYK color space (used in color printing), #5f31bb hex color is composed of 49.2% cyan, 73.8% magenta, 0% yellow and 26.67% black.
#5f31bb color has a hue of 260 degrees, a saturation of 58.47% and a lightness of 46.3%.
#5f31bb hex color contains mainly BLUE.
The closest web safe color of #5f31bb is #6633cc
#5f31bb hex color has a decimal value of 6238651.
HEX | 5f31bb | #5f31bb |
---|---|---|
RGB | 95, 49, 187 | rgb(95, 49, 187) |
RGB Percent | 37.25, 19.22, 73.33 | rgb(37.25, 19.22, 73.33) |
CMYK | 49, 74, 0, 27 | |
HSL | 260°, 58.47, 46.3 | hsl(260, 58.47%, 46.3%) |
HSV | 260°, 73.8, 73.3 |
XYZ | 14.787, 8.217, 47.82 |
---|---|
Hunter Lab | 28.665, 41.915, -78.843 |
CIE-LAB | 34.431, 51.542, -65.075 |
CIE-LCH | 34.431, 83.014, 308.381 |
CIE-LUV | 49.2, 73.8, 0, 26.67 |
Web Safe | 6633cc |
RGB percent of color #5f31bb
CMYK percent of color #5f31bb
Text with hexadecimal color #5f31bb
This text has a font color of #5f31bb
<p style="color:#5f31bb">Text here</p>
#5f31bb Background Color
This box has a background color of #5f31bb
<div style="background-color:#5f31bb">Text here</div>
#5f31bb Border Color
This box has a border color of #5f31bb
<div style="border: 4px solid #5f31bb">Text here</div>
CSS codes
<p style="color:#5f31bb">Text here</p>
<div style="background-color:#5f31bb">Text here</div>
<div style="border: 4px solid #5f31bb">Text here</div>
#5f31bb Color on white background
This is how a font and box color of #5f31bb will look
on a white background.
#5f31bb Color on black background
This is how a font and box color of #5f31bb hex color will look
on a black background.