In RGB color space, #5f51b8 hex color has a red value of 95, a green value of 81 and a blue value of 184.
In CMYK color space (used in color printing), #5f51b8 hex color is composed of 48.37% cyan, 55.98% magenta, 0% yellow and 27.84% black.
#5f51b8 color has a hue of 248.2 degrees, a saturation of 42.04% and a lightness of 52%.
#5f51b8 hex color contains mainly BLUE.
The closest web safe color of #5f51b8 is #6666cc
#5f51b8 hex color has a decimal value of 6246840.
HEX | 5f51b8 | #5f51b8 |
---|---|---|
RGB | 95, 81, 184 | rgb(95, 81, 184) |
RGB Percent | 37.25, 31.76, 72.16 | rgb(37.25, 31.76, 72.16) |
CMYK | 48, 56, 0, 28 | |
HSL | 248.2°, 42.04, 52 | hsl(248.2, 42.04%, 52%) |
HSV | 248.2°, 56, 72.2 |
XYZ | 16.313, 11.778, 46.761 |
---|---|
Hunter Lab | 34.319, 24.789, -56.761 |
CIE-LAB | 40.861, 32.775, -52.857 |
CIE-LCH | 40.861, 62.194, 301.802 |
CIE-LUV | 48.37, 55.98, 0, 27.84 |
Web Safe | 6666cc |
RGB percent of color #5f51b8
CMYK percent of color #5f51b8
Text with hexadecimal color #5f51b8
This text has a font color of #5f51b8
<p style="color:#5f51b8">Text here</p>
#5f51b8 Background Color
This box has a background color of #5f51b8
<div style="background-color:#5f51b8">Text here</div>
#5f51b8 Border Color
This box has a border color of #5f51b8
<div style="border: 4px solid #5f51b8">Text here</div>
CSS codes
<p style="color:#5f51b8">Text here</p>
<div style="background-color:#5f51b8">Text here</div>
<div style="border: 4px solid #5f51b8">Text here</div>
#5f51b8 Color on white background
This is how a font and box color of #5f51b8 will look
on a white background.
#5f51b8 Color on black background
This is how a font and box color of #5f51b8 hex color will look
on a black background.