In RGB color space, #5c40a2 hex color has a red value of 92, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #5c40a2 hex color is composed of 43.21% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#5c40a2 color has a hue of 257.1 degrees, a saturation of 43.36% and a lightness of 44.3%.
#5c40a2 hex color contains mainly BLUE.
The closest web safe color of #5c40a2 is #663399
#5c40a2 hex color has a decimal value of 6045858.
HEX | 5c40a2 | #5c40a2 |
---|---|---|
RGB | 92, 64, 162 | rgb(92, 64, 162) |
RGB Percent | 36.08, 25.1, 63.53 | rgb(36.08, 25.1, 63.53) |
CMYK | 43, 60, 0, 36 | |
HSL | 257.1°, 43.36, 44.3 | hsl(257.1, 43.36%, 44.3%) |
HSV | 257.1°, 60.5, 63.5 |
XYZ | 12.769, 8.551, 35.16 |
---|---|
Hunter Lab | 29.242, 26.771, -50.819 |
CIE-LAB | 35.105, 35.8, -49.1 |
CIE-LCH | 35.105, 60.766, 306.097 |
CIE-LUV | 43.21, 60.49, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5c40a2
CMYK percent of color #5c40a2
Text with hexadecimal color #5c40a2
This text has a font color of #5c40a2
<p style="color:#5c40a2">Text here</p>
#5c40a2 Background Color
This box has a background color of #5c40a2
<div style="background-color:#5c40a2">Text here</div>
#5c40a2 Border Color
This box has a border color of #5c40a2
<div style="border: 4px solid #5c40a2">Text here</div>
CSS codes
<p style="color:#5c40a2">Text here</p>
<div style="background-color:#5c40a2">Text here</div>
<div style="border: 4px solid #5c40a2">Text here</div>
#5c40a2 Color on white background
This is how a font and box color of #5c40a2 will look
on a white background.
#5c40a2 Color on black background
This is how a font and box color of #5c40a2 hex color will look
on a black background.