In RGB color space, #1f51f2 hex color has a red value of 31, a green value of 81 and a blue value of 242.
In CMYK color space (used in color printing), #1f51f2 hex color is composed of 87.19% cyan, 66.53% magenta, 0% yellow and 5.1% black.
#1f51f2 color has a hue of 225.8 degrees, a saturation of 89.03% and a lightness of 53.5%.
#1f51f2 hex color contains mainly BLUE.
The closest web safe color of #1f51f2 is #3366ff
#1f51f2 hex color has a decimal value of 2052594.
HEX | 1f51f2 | #1f51f2 |
---|---|---|
RGB | 31, 81, 242 | rgb(31, 81, 242) |
RGB Percent | 12.16, 31.76, 94.9 | rgb(12.16, 31.76, 94.9) |
CMYK | 87, 67, 0, 5 | |
HSL | 225.8°, 89.03, 53.5 | hsl(225.8, 89.03%, 53.5%) |
HSV | 225.8°, 87.2, 94.9 |
XYZ | 19.535, 12.587, 85.404 |
---|---|
Hunter Lab | 35.478, 36.199, -117.89 |
CIE-LAB | 42.134, 44.494, -84.215 |
CIE-LCH | 42.134, 95.246, 297.849 |
CIE-LUV | 87.19, 66.53, 0, 5.1 |
Web Safe | 3366ff |
RGB percent of color #1f51f2
CMYK percent of color #1f51f2
Text with hexadecimal color #1f51f2
This text has a font color of #1f51f2
<p style="color:#1f51f2">Text here</p>
#1f51f2 Background Color
This box has a background color of #1f51f2
<div style="background-color:#1f51f2">Text here</div>
#1f51f2 Border Color
This box has a border color of #1f51f2
<div style="border: 4px solid #1f51f2">Text here</div>
CSS codes
<p style="color:#1f51f2">Text here</p>
<div style="background-color:#1f51f2">Text here</div>
<div style="border: 4px solid #1f51f2">Text here</div>
#1f51f2 Color on white background
This is how a font and box color of #1f51f2 will look
on a white background.
#1f51f2 Color on black background
This is how a font and box color of #1f51f2 hex color will look
on a black background.