In RGB color space, #5840d8 hex color has a red value of 88, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #5840d8 hex color is composed of 59.26% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#5840d8 color has a hue of 249.5 degrees, a saturation of 66.09% and a lightness of 54.9%.
#5840d8 hex color contains mainly BLUE.
The closest web safe color of #5840d8 is #6633cc
#5840d8 hex color has a decimal value of 5783768.
HEX | 5840d8 | #5840d8 |
---|---|---|
RGB | 88, 64, 216 | rgb(88, 64, 216) |
RGB Percent | 34.51, 25.1, 84.71 | rgb(34.51, 25.1, 84.71) |
CMYK | 59, 70, 0, 15 | |
HSL | 249.5°, 66.09, 54.9 | hsl(249.5, 66.09%, 54.9%) |
HSV | 249.5°, 70.4, 84.7 |
XYZ | 18.253, 10.699, 66.069 |
---|---|
Hunter Lab | 32.709, 42.368, -96.862 |
CIE-LAB | 39.069, 51.105, -74.374 |
CIE-LCH | 39.069, 90.24, 304.494 |
CIE-LUV | 59.26, 70.37, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5840d8
CMYK percent of color #5840d8
Text with hexadecimal color #5840d8
This text has a font color of #5840d8
<p style="color:#5840d8">Text here</p>
#5840d8 Background Color
This box has a background color of #5840d8
<div style="background-color:#5840d8">Text here</div>
#5840d8 Border Color
This box has a border color of #5840d8
<div style="border: 4px solid #5840d8">Text here</div>
CSS codes
<p style="color:#5840d8">Text here</p>
<div style="background-color:#5840d8">Text here</div>
<div style="border: 4px solid #5840d8">Text here</div>
#5840d8 Color on white background
This is how a font and box color of #5840d8 will look
on a white background.
#5840d8 Color on black background
This is how a font and box color of #5840d8 hex color will look
on a black background.