In RGB color space, #1f51ff hex color has a red value of 31, a green value of 81 and a blue value of 255.
In CMYK color space (used in color printing), #1f51ff hex color is composed of 87.84% cyan, 68.24% magenta, 0% yellow and 0% black.
#1f51ff color has a hue of 226.6 degrees, a saturation of 100% and a lightness of 56.1%.
#1f51ff hex color contains mainly BLUE.
The closest web safe color of #1f51ff is #3366ff
#1f51ff hex color has a decimal value of 2052607.
HEX | 1f51ff | #1f51ff |
---|---|---|
RGB | 31, 81, 255 | rgb(31, 81, 255) |
RGB Percent | 12.16, 31.76, 100 | rgb(12.16, 31.76, 100) |
CMYK | 88, 68, 0, 0 | |
HSL | 226.6°, 100, 56.1 | hsl(226.6, 100%, 56.1%) |
HSV | 226.6°, 87.8, 100 |
XYZ | 21.558, 13.396, 96.057 |
---|---|
Hunter Lab | 36.601, 41.087, -129.984 |
CIE-LAB | 43.354, 49.089, -89.482 |
CIE-LCH | 43.354, 102.063, 298.749 |
CIE-LUV | 87.84, 68.24, 0, 0 |
Web Safe | 3366ff |
RGB percent of color #1f51ff
CMYK percent of color #1f51ff
Text with hexadecimal color #1f51ff
This text has a font color of #1f51ff
<p style="color:#1f51ff">Text here</p>
#1f51ff Background Color
This box has a background color of #1f51ff
<div style="background-color:#1f51ff">Text here</div>
#1f51ff Border Color
This box has a border color of #1f51ff
<div style="border: 4px solid #1f51ff">Text here</div>
CSS codes
<p style="color:#1f51ff">Text here</p>
<div style="background-color:#1f51ff">Text here</div>
<div style="border: 4px solid #1f51ff">Text here</div>
#1f51ff Color on white background
This is how a font and box color of #1f51ff will look
on a white background.
#1f51ff Color on black background
This is how a font and box color of #1f51ff hex color will look
on a black background.