In RGB color space, #5251b5 hex color has a red value of 82, a green value of 81 and a blue value of 181.
In CMYK color space (used in color printing), #5251b5 hex color is composed of 54.7% cyan, 55.25% magenta, 0% yellow and 29.02% black.
#5251b5 color has a hue of 240.6 degrees, a saturation of 40.32% and a lightness of 51.4%.
#5251b5 hex color contains mainly BLUE.
The closest web safe color of #5251b5 is #6666cc
#5251b5 hex color has a decimal value of 5394869.
HEX | 5251b5 | #5251b5 |
---|---|---|
RGB | 82, 81, 181 | rgb(82, 81, 181) |
RGB Percent | 32.16, 31.76, 70.98 | rgb(32.16, 31.76, 70.98) |
CMYK | 55, 55, 0, 29 | |
HSL | 240.6°, 40.32, 51.4 | hsl(240.6, 40.32%, 51.4%) |
HSV | 240.6°, 55.2, 71 |
XYZ | 14.763, 11.015, 45.064 |
---|---|
Hunter Lab | 33.189, 21.32, -57.272 |
CIE-LAB | 39.606, 29.091, -53.174 |
CIE-LCH | 39.606, 60.612, 298.683 |
CIE-LUV | 54.7, 55.25, 0, 29.02 |
Web Safe | 6666cc |
RGB percent of color #5251b5
CMYK percent of color #5251b5
Text with hexadecimal color #5251b5
This text has a font color of #5251b5
<p style="color:#5251b5">Text here</p>
#5251b5 Background Color
This box has a background color of #5251b5
<div style="background-color:#5251b5">Text here</div>
#5251b5 Border Color
This box has a border color of #5251b5
<div style="border: 4px solid #5251b5">Text here</div>
CSS codes
<p style="color:#5251b5">Text here</p>
<div style="background-color:#5251b5">Text here</div>
<div style="border: 4px solid #5251b5">Text here</div>
#5251b5 Color on white background
This is how a font and box color of #5251b5 will look
on a white background.
#5251b5 Color on black background
This is how a font and box color of #5251b5 hex color will look
on a black background.