In RGB color space, #5f46a8 hex color has a red value of 95, a green value of 70 and a blue value of 168.
In CMYK color space (used in color printing), #5f46a8 hex color is composed of 43.45% cyan, 58.33% magenta, 0% yellow and 34.12% black.
#5f46a8 color has a hue of 255.3 degrees, a saturation of 41.18% and a lightness of 46.7%.
#5f46a8 hex color contains mainly BLUE.
The closest web safe color of #5f46a8 is #663399
#5f46a8 hex color has a decimal value of 6244008.
HEX | 5f46a8 | #5f46a8 |
---|---|---|
RGB | 95, 70, 168 | rgb(95, 70, 168) |
RGB Percent | 37.25, 27.45, 65.88 | rgb(37.25, 27.45, 65.88) |
CMYK | 43, 58, 0, 34 | |
HSL | 255.3°, 41.18, 46.7 | hsl(255.3, 41.18%, 46.7%) |
HSV | 255.3°, 58.3, 65.9 |
XYZ | 13.977, 9.64, 38.17 |
---|---|
Hunter Lab | 31.048, 26.021, -51.156 |
CIE-LAB | 37.188, 34.653, -49.317 |
CIE-LCH | 37.188, 60.274, 305.094 |
CIE-LUV | 43.45, 58.33, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5f46a8
CMYK percent of color #5f46a8
Text with hexadecimal color #5f46a8
This text has a font color of #5f46a8
<p style="color:#5f46a8">Text here</p>
#5f46a8 Background Color
This box has a background color of #5f46a8
<div style="background-color:#5f46a8">Text here</div>
#5f46a8 Border Color
This box has a border color of #5f46a8
<div style="border: 4px solid #5f46a8">Text here</div>
CSS codes
<p style="color:#5f46a8">Text here</p>
<div style="background-color:#5f46a8">Text here</div>
<div style="border: 4px solid #5f46a8">Text here</div>
#5f46a8 Color on white background
This is how a font and box color of #5f46a8 will look
on a white background.
#5f46a8 Color on black background
This is how a font and box color of #5f46a8 hex color will look
on a black background.