In RGB color space, #5c40d8 hex color has a red value of 92, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #5c40d8 hex color is composed of 57.41% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#5c40d8 color has a hue of 251.1 degrees, a saturation of 66.09% and a lightness of 54.9%.
#5c40d8 hex color contains mainly BLUE.
The closest web safe color of #5c40d8 is #6633cc
#5c40d8 hex color has a decimal value of 6045912.
HEX | 5c40d8 | #5c40d8 |
---|---|---|
RGB | 92, 64, 216 | rgb(92, 64, 216) |
RGB Percent | 36.08, 25.1, 84.71 | rgb(36.08, 25.1, 84.71) |
CMYK | 57, 70, 0, 15 | |
HSL | 251.1°, 66.09, 54.9 | hsl(251.1, 66.09%, 54.9%) |
HSV | 251.1°, 70.4, 84.7 |
XYZ | 18.642, 10.9, 66.087 |
---|---|
Hunter Lab | 33.015, 43.013, -95.571 |
CIE-LAB | 39.412, 51.663, -73.799 |
CIE-LCH | 39.412, 90.085, 304.994 |
CIE-LUV | 57.41, 70.37, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5c40d8
CMYK percent of color #5c40d8
Text with hexadecimal color #5c40d8
This text has a font color of #5c40d8
<p style="color:#5c40d8">Text here</p>
#5c40d8 Background Color
This box has a background color of #5c40d8
<div style="background-color:#5c40d8">Text here</div>
#5c40d8 Border Color
This box has a border color of #5c40d8
<div style="border: 4px solid #5c40d8">Text here</div>
CSS codes
<p style="color:#5c40d8">Text here</p>
<div style="background-color:#5c40d8">Text here</div>
<div style="border: 4px solid #5c40d8">Text here</div>
#5c40d8 Color on white background
This is how a font and box color of #5c40d8 will look
on a white background.
#5c40d8 Color on black background
This is how a font and box color of #5c40d8 hex color will look
on a black background.