In RGB color space, #5840a4 hex color has a red value of 88, a green value of 64 and a blue value of 164.
In CMYK color space (used in color printing), #5840a4 hex color is composed of 46.34% cyan, 60.98% magenta, 0% yellow and 35.69% black.
#5840a4 color has a hue of 254.4 degrees, a saturation of 43.86% and a lightness of 44.7%.
#5840a4 hex color contains mainly BLUE.
The closest web safe color of #5840a4 is #663399
#5840a4 hex color has a decimal value of 5783716.
HEX | 5840a4 | #5840a4 |
---|---|---|
RGB | 88, 64, 164 | rgb(88, 64, 164) |
RGB Percent | 34.51, 25.1, 64.31 | rgb(34.51, 25.1, 64.31) |
CMYK | 46, 61, 0, 36 | |
HSL | 254.4°, 43.86, 44.7 | hsl(254.4, 43.86%, 44.7%) |
HSV | 254.4°, 61, 64.3 |
XYZ | 12.559, 8.422, 36.086 |
---|---|
Hunter Lab | 29.021, 26.462, -53.41 |
CIE-LAB | 34.847, 35.502, -50.74 |
CIE-LCH | 34.847, 61.927, 304.98 |
CIE-LUV | 46.34, 60.98, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5840a4
CMYK percent of color #5840a4
Text with hexadecimal color #5840a4
This text has a font color of #5840a4
<p style="color:#5840a4">Text here</p>
#5840a4 Background Color
This box has a background color of #5840a4
<div style="background-color:#5840a4">Text here</div>
#5840a4 Border Color
This box has a border color of #5840a4
<div style="border: 4px solid #5840a4">Text here</div>
CSS codes
<p style="color:#5840a4">Text here</p>
<div style="background-color:#5840a4">Text here</div>
<div style="border: 4px solid #5840a4">Text here</div>
#5840a4 Color on white background
This is how a font and box color of #5840a4 will look
on a white background.
#5840a4 Color on black background
This is how a font and box color of #5840a4 hex color will look
on a black background.