In RGB color space, #5170f1 hex color has a red value of 81, a green value of 112 and a blue value of 241.
In CMYK color space (used in color printing), #5170f1 hex color is composed of 66.39% cyan, 53.53% magenta, 0% yellow and 5.49% black.
#5170f1 color has a hue of 228.4 degrees, a saturation of 85.11% and a lightness of 63.1%.
#5170f1 hex color contains mainly BLUE.
The closest web safe color of #5170f1 is #6666ff
#5170f1 hex color has a decimal value of 5337329.
HEX | 5170f1 | #5170f1 |
---|---|---|
RGB | 81, 112, 241 | rgb(81, 112, 241) |
RGB Percent | 31.76, 43.92, 94.51 | rgb(31.76, 43.92, 94.51) |
CMYK | 66, 54, 0, 5 | |
HSL | 228.4°, 85.11, 63.1 | hsl(228.4, 85.11%, 63.1%) |
HSV | 228.4°, 66.4, 94.5 |
XYZ | 25.065, 19.689, 85.698 |
---|---|
Hunter Lab | 44.372, 23.18, -83.449 |
CIE-LAB | 51.484, 29.758, -68.306 |
CIE-LCH | 51.484, 74.507, 293.541 |
CIE-LUV | 66.39, 53.53, 0, 5.49 |
Web Safe | 6666ff |
RGB percent of color #5170f1
CMYK percent of color #5170f1
Text with hexadecimal color #5170f1
This text has a font color of #5170f1
<p style="color:#5170f1">Text here</p>
#5170f1 Background Color
This box has a background color of #5170f1
<div style="background-color:#5170f1">Text here</div>
#5170f1 Border Color
This box has a border color of #5170f1
<div style="border: 4px solid #5170f1">Text here</div>
CSS codes
<p style="color:#5170f1">Text here</p>
<div style="background-color:#5170f1">Text here</div>
<div style="border: 4px solid #5170f1">Text here</div>
#5170f1 Color on white background
This is how a font and box color of #5170f1 will look
on a white background.
#5170f1 Color on black background
This is how a font and box color of #5170f1 hex color will look
on a black background.