In RGB color space, #5731f2 hex color has a red value of 87, a green value of 49 and a blue value of 242.
In CMYK color space (used in color printing), #5731f2 hex color is composed of 64.05% cyan, 79.75% magenta, 0% yellow and 5.1% black.
#5731f2 color has a hue of 251.8 degrees, a saturation of 88.13% and a lightness of 57.1%.
#5731f2 hex color contains mainly BLUE.
The closest web safe color of #5731f2 is #6633ff
#5731f2 hex color has a decimal value of 5714418.
HEX | 5731f2 | #5731f2 |
---|---|---|
RGB | 87, 49, 242 | rgb(87, 49, 242) |
RGB Percent | 34.12, 19.22, 94.9 | rgb(34.12, 19.22, 94.9) |
CMYK | 64, 80, 0, 5 | |
HSL | 251.8°, 88.13, 57.1 | hsl(251.8, 88.13%, 57.1%) |
HSV | 251.8°, 79.8, 94.9 |
XYZ | 21.056, 10.634, 84.947 |
---|---|
Hunter Lab | 32.61, 58.189, -131.621 |
CIE-LAB | 38.957, 65.656, -89.363 |
CIE-LCH | 38.957, 110.889, 306.305 |
CIE-LUV | 64.05, 79.75, 0, 5.1 |
Web Safe | 6633ff |
RGB percent of color #5731f2
CMYK percent of color #5731f2
Text with hexadecimal color #5731f2
This text has a font color of #5731f2
<p style="color:#5731f2">Text here</p>
#5731f2 Background Color
This box has a background color of #5731f2
<div style="background-color:#5731f2">Text here</div>
#5731f2 Border Color
This box has a border color of #5731f2
<div style="border: 4px solid #5731f2">Text here</div>
CSS codes
<p style="color:#5731f2">Text here</p>
<div style="background-color:#5731f2">Text here</div>
<div style="border: 4px solid #5731f2">Text here</div>
#5731f2 Color on white background
This is how a font and box color of #5731f2 will look
on a white background.
#5731f2 Color on black background
This is how a font and box color of #5731f2 hex color will look
on a black background.