In RGB color space, #5c51ab hex color has a red value of 92, a green value of 81 and a blue value of 171.
In CMYK color space (used in color printing), #5c51ab hex color is composed of 46.2% cyan, 52.63% magenta, 0% yellow and 32.94% black.
#5c51ab color has a hue of 247.3 degrees, a saturation of 35.71% and a lightness of 49.4%.
#5c51ab hex color contains mainly BLUE.
The closest web safe color of #5c51ab is #666699
#5c51ab hex color has a decimal value of 6050219.
HEX | 5c51ab | #5c51ab |
---|---|---|
RGB | 92, 81, 171 | rgb(92, 81, 171) |
RGB Percent | 36.08, 31.76, 67.06 | rgb(36.08, 31.76, 67.06) |
CMYK | 46, 53, 0, 33 | |
HSL | 247.3°, 35.71, 49.4 | hsl(247.3, 35.71%, 49.4%) |
HSV | 247.3°, 52.6, 67.1 |
XYZ | 14.707, 11.1, 39.896 |
---|---|
Hunter Lab | 33.317, 20.491, -47.677 |
CIE-LAB | 39.748, 28.136, -46.998 |
CIE-LCH | 39.748, 54.776, 300.907 |
CIE-LUV | 46.2, 52.63, 0, 32.94 |
Web Safe | 666699 |
RGB percent of color #5c51ab
CMYK percent of color #5c51ab
Text with hexadecimal color #5c51ab
This text has a font color of #5c51ab
<p style="color:#5c51ab">Text here</p>
#5c51ab Background Color
This box has a background color of #5c51ab
<div style="background-color:#5c51ab">Text here</div>
#5c51ab Border Color
This box has a border color of #5c51ab
<div style="border: 4px solid #5c51ab">Text here</div>
CSS codes
<p style="color:#5c51ab">Text here</p>
<div style="background-color:#5c51ab">Text here</div>
<div style="border: 4px solid #5c51ab">Text here</div>
#5c51ab Color on white background
This is how a font and box color of #5c51ab will look
on a white background.
#5c51ab Color on black background
This is how a font and box color of #5c51ab hex color will look
on a black background.