In RGB color space, #5f46c8 hex color has a red value of 95, a green value of 70 and a blue value of 200.
In CMYK color space (used in color printing), #5f46c8 hex color is composed of 52.5% cyan, 65% magenta, 0% yellow and 21.57% black.
#5f46c8 color has a hue of 251.5 degrees, a saturation of 54.17% and a lightness of 52.9%.
#5f46c8 hex color contains mainly BLUE.
The closest web safe color of #5f46c8 is #6633cc
#5f46c8 hex color has a decimal value of 6244040.
HEX | 5f46c8 | #5f46c8 |
---|---|---|
RGB | 95, 70, 200 | rgb(95, 70, 200) |
RGB Percent | 37.25, 27.45, 78.43 | rgb(37.25, 27.45, 78.43) |
CMYK | 53, 65, 0, 22 | |
HSL | 251.5°, 54.17, 52.9 | hsl(251.5, 54.17%, 52.9%) |
HSV | 251.5°, 65, 78.4 |
XYZ | 17.335, 10.983, 55.85 |
---|---|
Hunter Lab | 33.141, 35.373, -76.72 |
CIE-LAB | 39.552, 44.104, -64.318 |
CIE-LCH | 39.552, 77.987, 304.439 |
CIE-LUV | 52.5, 65, 0, 21.57 |
Web Safe | 6633cc |
RGB percent of color #5f46c8
CMYK percent of color #5f46c8
Text with hexadecimal color #5f46c8
This text has a font color of #5f46c8
<p style="color:#5f46c8">Text here</p>
#5f46c8 Background Color
This box has a background color of #5f46c8
<div style="background-color:#5f46c8">Text here</div>
#5f46c8 Border Color
This box has a border color of #5f46c8
<div style="border: 4px solid #5f46c8">Text here</div>
CSS codes
<p style="color:#5f46c8">Text here</p>
<div style="background-color:#5f46c8">Text here</div>
<div style="border: 4px solid #5f46c8">Text here</div>
#5f46c8 Color on white background
This is how a font and box color of #5f46c8 will look
on a white background.
#5f46c8 Color on black background
This is how a font and box color of #5f46c8 hex color will look
on a black background.