In RGB color space, #5f51d8 hex color has a red value of 95, a green value of 81 and a blue value of 216.
In CMYK color space (used in color printing), #5f51d8 hex color is composed of 56.02% cyan, 62.5% magenta, 0% yellow and 15.29% black.
#5f51d8 color has a hue of 246.2 degrees, a saturation of 63.38% and a lightness of 58.2%.
#5f51d8 hex color contains mainly BLUE.
The closest web safe color of #5f51d8 is #6666cc
#5f51d8 hex color has a decimal value of 6246872.
HEX | 5f51d8 | #5f51d8 |
---|---|---|
RGB | 95, 81, 216 | rgb(95, 81, 216) |
RGB Percent | 37.25, 31.76, 84.71 | rgb(37.25, 31.76, 84.71) |
CMYK | 56, 63, 0, 15 | |
HSL | 246.2°, 63.38, 58.2 | hsl(246.2, 63.38%, 58.2%) |
HSV | 246.2°, 62.5, 84.7 |
XYZ | 20.056, 13.276, 66.471 |
---|---|
Hunter Lab | 36.436, 34.49, -82.658 |
CIE-LAB | 43.176, 42.603, -67.635 |
CIE-LCH | 43.176, 79.934, 302.207 |
CIE-LUV | 56.02, 62.5, 0, 15.29 |
Web Safe | 6666cc |
RGB percent of color #5f51d8
CMYK percent of color #5f51d8
Text with hexadecimal color #5f51d8
This text has a font color of #5f51d8
<p style="color:#5f51d8">Text here</p>
#5f51d8 Background Color
This box has a background color of #5f51d8
<div style="background-color:#5f51d8">Text here</div>
#5f51d8 Border Color
This box has a border color of #5f51d8
<div style="border: 4px solid #5f51d8">Text here</div>
CSS codes
<p style="color:#5f51d8">Text here</p>
<div style="background-color:#5f51d8">Text here</div>
<div style="border: 4px solid #5f51d8">Text here</div>
#5f51d8 Color on white background
This is how a font and box color of #5f51d8 will look
on a white background.
#5f51d8 Color on black background
This is how a font and box color of #5f51d8 hex color will look
on a black background.