In RGB color space, #5c51b3 hex color has a red value of 92, a green value of 81 and a blue value of 179.
In CMYK color space (used in color printing), #5c51b3 hex color is composed of 48.6% cyan, 54.75% magenta, 0% yellow and 29.8% black.
#5c51b3 color has a hue of 246.7 degrees, a saturation of 39.2% and a lightness of 51%.
#5c51b3 hex color contains mainly BLUE.
The closest web safe color of #5c51b3 is #6666cc
#5c51b3 hex color has a decimal value of 6050227.
HEX | 5c51b3 | #5c51b3 |
---|---|---|
RGB | 92, 81, 179 | rgb(92, 81, 179) |
RGB Percent | 36.08, 31.76, 70.2 | rgb(36.08, 31.76, 70.2) |
CMYK | 49, 55, 0, 30 | |
HSL | 246.7°, 39.2, 51 | hsl(246.7, 39.2%, 51%) |
HSV | 246.7°, 54.7, 70.2 |
XYZ | 15.493, 11.415, 44.035 |
---|---|
Hunter Lab | 33.786, 22.728, -53.625 |
CIE-LAB | 40.271, 30.583, -50.884 |
CIE-LCH | 40.271, 59.368, 301.007 |
CIE-LUV | 48.6, 54.75, 0, 29.8 |
Web Safe | 6666cc |
RGB percent of color #5c51b3
CMYK percent of color #5c51b3
Text with hexadecimal color #5c51b3
This text has a font color of #5c51b3
<p style="color:#5c51b3">Text here</p>
#5c51b3 Background Color
This box has a background color of #5c51b3
<div style="background-color:#5c51b3">Text here</div>
#5c51b3 Border Color
This box has a border color of #5c51b3
<div style="border: 4px solid #5c51b3">Text here</div>
CSS codes
<p style="color:#5c51b3">Text here</p>
<div style="background-color:#5c51b3">Text here</div>
<div style="border: 4px solid #5c51b3">Text here</div>
#5c51b3 Color on white background
This is how a font and box color of #5c51b3 will look
on a white background.
#5c51b3 Color on black background
This is how a font and box color of #5c51b3 hex color will look
on a black background.