In RGB color space, #5b40a0 hex color has a red value of 91, a green value of 64 and a blue value of 160.
In CMYK color space (used in color printing), #5b40a0 hex color is composed of 43.13% cyan, 60% magenta, 0% yellow and 37.25% black.
#5b40a0 color has a hue of 256.9 degrees, a saturation of 42.86% and a lightness of 43.9%.
#5b40a0 hex color contains mainly BLUE.
The closest web safe color of #5b40a0 is #663399
#5b40a0 hex color has a decimal value of 5980320.
HEX | 5b40a0 | #5b40a0 |
---|---|---|
RGB | 91, 64, 160 | rgb(91, 64, 160) |
RGB Percent | 35.69, 25.1, 62.75 | rgb(35.69, 25.1, 62.75) |
CMYK | 43, 60, 0, 37 | |
HSL | 256.9°, 42.86, 43.9 | hsl(256.9, 42.86%, 43.9%) |
HSV | 256.9°, 60, 62.7 |
XYZ | 12.493, 8.429, 34.226 |
---|---|
Hunter Lab | 29.033, 26.003, -49.573 |
CIE-LAB | 34.861, 34.994, -48.295 |
CIE-LCH | 34.861, 59.64, 305.927 |
CIE-LUV | 43.13, 60, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5b40a0
CMYK percent of color #5b40a0
Text with hexadecimal color #5b40a0
This text has a font color of #5b40a0
<p style="color:#5b40a0">Text here</p>
#5b40a0 Background Color
This box has a background color of #5b40a0
<div style="background-color:#5b40a0">Text here</div>
#5b40a0 Border Color
This box has a border color of #5b40a0
<div style="border: 4px solid #5b40a0">Text here</div>
CSS codes
<p style="color:#5b40a0">Text here</p>
<div style="background-color:#5b40a0">Text here</div>
<div style="border: 4px solid #5b40a0">Text here</div>
#5b40a0 Color on white background
This is how a font and box color of #5b40a0 will look
on a white background.
#5b40a0 Color on black background
This is how a font and box color of #5b40a0 hex color will look
on a black background.