In RGB color space, #1f40ff hex color has a red value of 31, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #1f40ff hex color is composed of 87.84% cyan, 74.9% magenta, 0% yellow and 0% black.
#1f40ff color has a hue of 231.2 degrees, a saturation of 100% and a lightness of 56.1%.
#1f40ff hex color contains mainly BLUE.
The closest web safe color of #1f40ff is #3333ff
#1f40ff hex color has a decimal value of 2048255.
HEX | 1f40ff | #1f40ff |
---|---|---|
RGB | 31, 64, 255 | rgb(31, 64, 255) |
RGB Percent | 12.16, 25.1, 100 | rgb(12.16, 25.1, 100) |
CMYK | 88, 75, 0, 0 | |
HSL | 231.2°, 100, 56.1 | hsl(231.2, 100%, 56.1%) |
HSV | 231.2°, 87.8, 100 |
XYZ | 20.448, 11.178, 95.688 |
---|---|
Hunter Lab | 33.434, 50.662, -146.287 |
CIE-LAB | 39.879, 58.743, -95.228 |
CIE-LCH | 39.879, 111.889, 301.669 |
CIE-LUV | 87.84, 74.9, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #1f40ff
CMYK percent of color #1f40ff
Text with hexadecimal color #1f40ff
This text has a font color of #1f40ff
<p style="color:#1f40ff">Text here</p>
#1f40ff Background Color
This box has a background color of #1f40ff
<div style="background-color:#1f40ff">Text here</div>
#1f40ff Border Color
This box has a border color of #1f40ff
<div style="border: 4px solid #1f40ff">Text here</div>
CSS codes
<p style="color:#1f40ff">Text here</p>
<div style="background-color:#1f40ff">Text here</div>
<div style="border: 4px solid #1f40ff">Text here</div>
#1f40ff Color on white background
This is how a font and box color of #1f40ff will look
on a white background.
#1f40ff Color on black background
This is how a font and box color of #1f40ff hex color will look
on a black background.