In RGB color space, #5f46e1 hex color has a red value of 95, a green value of 70 and a blue value of 225.
In CMYK color space (used in color printing), #5f46e1 hex color is composed of 57.78% cyan, 68.89% magenta, 0% yellow and 11.76% black.
#5f46e1 color has a hue of 249.7 degrees, a saturation of 72.09% and a lightness of 57.8%.
#5f46e1 hex color contains mainly BLUE.
The closest web safe color of #5f46e1 is #6633cc
#5f46e1 hex color has a decimal value of 6244065.
HEX | 5f46e1 | #5f46e1 |
---|---|---|
RGB | 95, 70, 225 | rgb(95, 70, 225) |
RGB Percent | 37.25, 27.45, 88.24 | rgb(37.25, 27.45, 88.24) |
CMYK | 58, 69, 0, 12 | |
HSL | 249.7°, 72.09, 57.8 | hsl(249.7, 72.09%, 57.8%) |
HSV | 249.7°, 68.9, 88.2 |
XYZ | 20.5, 12.249, 72.518 |
---|---|
Hunter Lab | 34.999, 43.307, -98.352 |
CIE-LAB | 41.609, 51.538, -75.333 |
CIE-LCH | 41.609, 91.276, 304.377 |
CIE-LUV | 57.78, 68.89, 0, 11.76 |
Web Safe | 6633cc |
RGB percent of color #5f46e1
CMYK percent of color #5f46e1
Text with hexadecimal color #5f46e1
This text has a font color of #5f46e1
<p style="color:#5f46e1">Text here</p>
#5f46e1 Background Color
This box has a background color of #5f46e1
<div style="background-color:#5f46e1">Text here</div>
#5f46e1 Border Color
This box has a border color of #5f46e1
<div style="border: 4px solid #5f46e1">Text here</div>
CSS codes
<p style="color:#5f46e1">Text here</p>
<div style="background-color:#5f46e1">Text here</div>
<div style="border: 4px solid #5f46e1">Text here</div>
#5f46e1 Color on white background
This is how a font and box color of #5f46e1 will look
on a white background.
#5f46e1 Color on black background
This is how a font and box color of #5f46e1 hex color will look
on a black background.