In RGB color space, #5840c5 hex color has a red value of 88, a green value of 64 and a blue value of 197.
In CMYK color space (used in color printing), #5840c5 hex color is composed of 55.33% cyan, 67.51% magenta, 0% yellow and 22.75% black.
#5840c5 color has a hue of 250.8 degrees, a saturation of 53.41% and a lightness of 51.2%.
#5840c5 hex color contains mainly BLUE.
The closest web safe color of #5840c5 is #6633cc
#5840c5 hex color has a decimal value of 5783749.
HEX | 5840c5 | #5840c5 |
---|---|---|
RGB | 88, 64, 197 | rgb(88, 64, 197) |
RGB Percent | 34.51, 25.1, 77.25 | rgb(34.51, 25.1, 77.25) |
CMYK | 55, 68, 0, 23 | |
HSL | 250.8°, 53.41, 51.2 | hsl(250.8, 53.41%, 51.2%) |
HSV | 250.8°, 67.5, 77.3 |
XYZ | 15.936, 9.773, 53.87 |
---|---|
Hunter Lab | 31.262, 36.284, -80.285 |
CIE-LAB | 37.432, 45.399, -66.059 |
CIE-LCH | 37.432, 80.155, 304.499 |
CIE-LUV | 55.33, 67.51, 0, 22.75 |
Web Safe | 6633cc |
RGB percent of color #5840c5
CMYK percent of color #5840c5
Text with hexadecimal color #5840c5
This text has a font color of #5840c5
<p style="color:#5840c5">Text here</p>
#5840c5 Background Color
This box has a background color of #5840c5
<div style="background-color:#5840c5">Text here</div>
#5840c5 Border Color
This box has a border color of #5840c5
<div style="border: 4px solid #5840c5">Text here</div>
CSS codes
<p style="color:#5840c5">Text here</p>
<div style="background-color:#5840c5">Text here</div>
<div style="border: 4px solid #5840c5">Text here</div>
#5840c5 Color on white background
This is how a font and box color of #5840c5 will look
on a white background.
#5840c5 Color on black background
This is how a font and box color of #5840c5 hex color will look
on a black background.