In RGB color space, #5c40b8 hex color has a red value of 92, a green value of 64 and a blue value of 184.
In CMYK color space (used in color printing), #5c40b8 hex color is composed of 50% cyan, 65.22% magenta, 0% yellow and 27.84% black.
#5c40b8 color has a hue of 254 degrees, a saturation of 48.39% and a lightness of 48.6%.
#5c40b8 hex color contains mainly BLUE.
The closest web safe color of #5c40b8 is #6633cc
#5c40b8 hex color has a decimal value of 6045880.
HEX | 5c40b8 | #5c40b8 |
---|---|---|
RGB | 92, 64, 184 | rgb(92, 64, 184) |
RGB Percent | 36.08, 25.1, 72.16 | rgb(36.08, 25.1, 72.16) |
CMYK | 50, 65, 0, 28 | |
HSL | 254°, 48.39, 48.6 | hsl(254, 48.39%, 48.6%) |
HSV | 254°, 65.2, 72.2 |
XYZ | 14.899, 9.403, 46.377 |
---|---|
Hunter Lab | 30.664, 33.066, -68.206 |
CIE-LAB | 36.749, 42.228, -59.533 |
CIE-LCH | 36.749, 72.989, 305.349 |
CIE-LUV | 50, 65.22, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #5c40b8
CMYK percent of color #5c40b8
Text with hexadecimal color #5c40b8
This text has a font color of #5c40b8
<p style="color:#5c40b8">Text here</p>
#5c40b8 Background Color
This box has a background color of #5c40b8
<div style="background-color:#5c40b8">Text here</div>
#5c40b8 Border Color
This box has a border color of #5c40b8
<div style="border: 4px solid #5c40b8">Text here</div>
CSS codes
<p style="color:#5c40b8">Text here</p>
<div style="background-color:#5c40b8">Text here</div>
<div style="border: 4px solid #5c40b8">Text here</div>
#5c40b8 Color on white background
This is how a font and box color of #5c40b8 will look
on a white background.
#5c40b8 Color on black background
This is how a font and box color of #5c40b8 hex color will look
on a black background.