In RGB color space, #1f40ef hex color has a red value of 31, a green value of 64 and a blue value of 239.
In CMYK color space (used in color printing), #1f40ef hex color is composed of 87.03% cyan, 73.22% magenta, 0% yellow and 6.27% black.
#1f40ef color has a hue of 230.5 degrees, a saturation of 86.67% and a lightness of 52.9%.
#1f40ef hex color contains mainly BLUE.
The closest web safe color of #1f40ef is #3333ff
#1f40ef hex color has a decimal value of 2048239.
HEX | 1f40ef | #1f40ef |
---|---|---|
RGB | 31, 64, 239 | rgb(31, 64, 239) |
RGB Percent | 12.16, 25.1, 93.73 | rgb(12.16, 25.1, 93.73) |
CMYK | 87, 73, 0, 6 | |
HSL | 230.5°, 86.67, 52.9 | hsl(230.5, 86.67%, 52.9%) |
HSV | 230.5°, 87, 93.7 |
XYZ | 17.978, 10.19, 82.681 |
---|---|
Hunter Lab | 31.922, 44.666, -131.223 |
CIE-LAB | 38.181, 53.475, -89.049 |
CIE-LCH | 38.181, 103.872, 300.985 |
CIE-LUV | 87.03, 73.22, 0, 6.27 |
Web Safe | 3333ff |
RGB percent of color #1f40ef
CMYK percent of color #1f40ef
Text with hexadecimal color #1f40ef
This text has a font color of #1f40ef
<p style="color:#1f40ef">Text here</p>
#1f40ef Background Color
This box has a background color of #1f40ef
<div style="background-color:#1f40ef">Text here</div>
#1f40ef Border Color
This box has a border color of #1f40ef
<div style="border: 4px solid #1f40ef">Text here</div>
CSS codes
<p style="color:#1f40ef">Text here</p>
<div style="background-color:#1f40ef">Text here</div>
<div style="border: 4px solid #1f40ef">Text here</div>
#1f40ef Color on white background
This is how a font and box color of #1f40ef will look
on a white background.
#1f40ef Color on black background
This is how a font and box color of #1f40ef hex color will look
on a black background.