In RGB color space, #5f31d8 hex color has a red value of 95, a green value of 49 and a blue value of 216.
In CMYK color space (used in color printing), #5f31d8 hex color is composed of 56.02% cyan, 77.31% magenta, 0% yellow and 15.29% black.
#5f31d8 color has a hue of 256.5 degrees, a saturation of 68.16% and a lightness of 52%.
#5f31d8 hex color contains mainly BLUE.
The closest web safe color of #5f31d8 is #6633cc
#5f31d8 hex color has a decimal value of 6238680.
HEX | 5f31d8 | #5f31d8 |
---|---|---|
RGB | 95, 49, 216 | rgb(95, 49, 216) |
RGB Percent | 37.25, 19.22, 84.71 | rgb(37.25, 19.22, 84.71) |
CMYK | 56, 77, 0, 15 | |
HSL | 256.5°, 68.16, 52 | hsl(256.5, 68.16%, 52%) |
HSV | 256.5°, 77.3, 84.7 |
XYZ | 18.212, 9.587, 65.856 |
---|---|
Hunter Lab | 30.963, 50.807, -104.432 |
CIE-LAB | 37.091, 59.415, -77.602 |
CIE-LCH | 37.091, 97.735, 307.439 |
CIE-LUV | 56.02, 77.31, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5f31d8
CMYK percent of color #5f31d8
Text with hexadecimal color #5f31d8
This text has a font color of #5f31d8
<p style="color:#5f31d8">Text here</p>
#5f31d8 Background Color
This box has a background color of #5f31d8
<div style="background-color:#5f31d8">Text here</div>
#5f31d8 Border Color
This box has a border color of #5f31d8
<div style="border: 4px solid #5f31d8">Text here</div>
CSS codes
<p style="color:#5f31d8">Text here</p>
<div style="background-color:#5f31d8">Text here</div>
<div style="border: 4px solid #5f31d8">Text here</div>
#5f31d8 Color on white background
This is how a font and box color of #5f31d8 will look
on a white background.
#5f31d8 Color on black background
This is how a font and box color of #5f31d8 hex color will look
on a black background.