In RGB color space, #5f54a6 hex color has a red value of 95, a green value of 84 and a blue value of 166.
In CMYK color space (used in color printing), #5f54a6 hex color is composed of 42.77% cyan, 49.4% magenta, 0% yellow and 34.9% black.
#5f54a6 color has a hue of 248 degrees, a saturation of 32.8% and a lightness of 49%.
#5f54a6 hex color contains mainly BLUE.
The closest web safe color of #5f54a6 is #666699
#5f54a6 hex color has a decimal value of 6247590.
HEX | 5f54a6 | #5f54a6 |
---|---|---|
RGB | 95, 84, 166 | rgb(95, 84, 166) |
RGB Percent | 37.25, 32.94, 65.1 | rgb(37.25, 32.94, 65.1) |
CMYK | 43, 49, 0, 35 | |
HSL | 248°, 32.8, 49 | hsl(248, 32.8%, 49%) |
HSV | 248°, 49.4, 65.1 |
XYZ | 14.773, 11.527, 37.523 |
---|---|
Hunter Lab | 33.951, 18.254, -41.761 |
CIE-LAB | 40.454, 25.494, -42.885 |
CIE-LCH | 40.454, 49.891, 300.73 |
CIE-LUV | 42.77, 49.4, 0, 34.9 |
Web Safe | 666699 |
RGB percent of color #5f54a6
CMYK percent of color #5f54a6
Text with hexadecimal color #5f54a6
This text has a font color of #5f54a6
<p style="color:#5f54a6">Text here</p>
#5f54a6 Background Color
This box has a background color of #5f54a6
<div style="background-color:#5f54a6">Text here</div>
#5f54a6 Border Color
This box has a border color of #5f54a6
<div style="border: 4px solid #5f54a6">Text here</div>
CSS codes
<p style="color:#5f54a6">Text here</p>
<div style="background-color:#5f54a6">Text here</div>
<div style="border: 4px solid #5f54a6">Text here</div>
#5f54a6 Color on white background
This is how a font and box color of #5f54a6 will look
on a white background.
#5f54a6 Color on black background
This is how a font and box color of #5f54a6 hex color will look
on a black background.