In RGB color space, #5f51db hex color has a red value of 95, a green value of 81 and a blue value of 219.
In CMYK color space (used in color printing), #5f51db hex color is composed of 56.62% cyan, 63.01% magenta, 0% yellow and 14.12% black.
#5f51db color has a hue of 246.1 degrees, a saturation of 65.71% and a lightness of 58.8%.
#5f51db hex color contains mainly BLUE.
The closest web safe color of #5f51db is #6666cc
#5f51db hex color has a decimal value of 6246875.
HEX | 5f51db | #5f51db |
---|---|---|
RGB | 95, 81, 219 | rgb(95, 81, 219) |
RGB Percent | 37.25, 31.76, 85.88 | rgb(37.25, 31.76, 85.88) |
CMYK | 57, 63, 0, 14 | |
HSL | 246.1°, 65.71, 58.8 | hsl(246.1, 65.71%, 58.8%) |
HSV | 246.1°, 63, 85.9 |
XYZ | 20.448, 13.432, 68.533 |
---|---|
Hunter Lab | 36.65, 35.454, -85.214 |
CIE-LAB | 43.407, 43.534, -68.974 |
CIE-LCH | 43.407, 81.564, 302.259 |
CIE-LUV | 56.62, 63.01, 0, 14.12 |
Web Safe | 6666cc |
RGB percent of color #5f51db
CMYK percent of color #5f51db
Text with hexadecimal color #5f51db
This text has a font color of #5f51db
<p style="color:#5f51db">Text here</p>
#5f51db Background Color
This box has a background color of #5f51db
<div style="background-color:#5f51db">Text here</div>
#5f51db Border Color
This box has a border color of #5f51db
<div style="border: 4px solid #5f51db">Text here</div>
CSS codes
<p style="color:#5f51db">Text here</p>
<div style="background-color:#5f51db">Text here</div>
<div style="border: 4px solid #5f51db">Text here</div>
#5f51db Color on white background
This is how a font and box color of #5f51db will look
on a white background.
#5f51db Color on black background
This is how a font and box color of #5f51db hex color will look
on a black background.