In RGB color space, #5f46c5 hex color has a red value of 95, a green value of 70 and a blue value of 197.
In CMYK color space (used in color printing), #5f46c5 hex color is composed of 51.78% cyan, 64.47% magenta, 0% yellow and 22.75% black.
#5f46c5 color has a hue of 251.8 degrees, a saturation of 52.26% and a lightness of 52.4%.
#5f46c5 hex color contains mainly BLUE.
The closest web safe color of #5f46c5 is #6633cc
#5f46c5 hex color has a decimal value of 6244037.
HEX | 5f46c5 | #5f46c5 |
---|---|---|
RGB | 95, 70, 197 | rgb(95, 70, 197) |
RGB Percent | 37.25, 27.45, 77.25 | rgb(37.25, 27.45, 77.25) |
CMYK | 52, 64, 0, 23 | |
HSL | 251.8°, 52.26, 52.4 | hsl(251.8, 52.26%, 52.4%) |
HSV | 251.8°, 64.5, 77.3 |
XYZ | 16.988, 10.844, 54.021 |
---|---|
Hunter Lab | 32.93, 34.456, -74.212 |
CIE-LAB | 39.316, 43.214, -62.957 |
CIE-LCH | 39.316, 76.361, 304.466 |
CIE-LUV | 51.78, 64.47, 0, 22.75 |
Web Safe | 6633cc |
RGB percent of color #5f46c5
CMYK percent of color #5f46c5
Text with hexadecimal color #5f46c5
This text has a font color of #5f46c5
<p style="color:#5f46c5">Text here</p>
#5f46c5 Background Color
This box has a background color of #5f46c5
<div style="background-color:#5f46c5">Text here</div>
#5f46c5 Border Color
This box has a border color of #5f46c5
<div style="border: 4px solid #5f46c5">Text here</div>
CSS codes
<p style="color:#5f46c5">Text here</p>
<div style="background-color:#5f46c5">Text here</div>
<div style="border: 4px solid #5f46c5">Text here</div>
#5f46c5 Color on white background
This is how a font and box color of #5f46c5 will look
on a white background.
#5f46c5 Color on black background
This is how a font and box color of #5f46c5 hex color will look
on a black background.