In RGB color space, #1f40dc hex color has a red value of 31, a green value of 64 and a blue value of 220.
In CMYK color space (used in color printing), #1f40dc hex color is composed of 85.91% cyan, 70.91% magenta, 0% yellow and 13.73% black.
#1f40dc color has a hue of 229.5 degrees, a saturation of 75.3% and a lightness of 49.2%.
#1f40dc hex color contains mainly BLUE.
The closest web safe color of #1f40dc is #3333cc
#1f40dc hex color has a decimal value of 2048220.
HEX | 1f40dc | #1f40dc |
---|---|---|
RGB | 31, 64, 220 | rgb(31, 64, 220) |
RGB Percent | 12.16, 25.1, 86.27 | rgb(12.16, 25.1, 86.27) |
CMYK | 86, 71, 0, 14 | |
HSL | 229.5°, 75.3, 49.2 | hsl(229.5, 75.3%, 49.2%) |
HSV | 229.5°, 85.9, 86.3 |
XYZ | 15.317, 9.125, 68.664 |
---|---|
Hunter Lab | 30.208, 37.646, -113.625 |
CIE-LAB | 36.224, 46.989, -81.468 |
CIE-LCH | 36.224, 94.048, 299.975 |
CIE-LUV | 85.91, 70.91, 0, 13.73 |
Web Safe | 3333cc |
RGB percent of color #1f40dc
CMYK percent of color #1f40dc
Text with hexadecimal color #1f40dc
This text has a font color of #1f40dc
<p style="color:#1f40dc">Text here</p>
#1f40dc Background Color
This box has a background color of #1f40dc
<div style="background-color:#1f40dc">Text here</div>
#1f40dc Border Color
This box has a border color of #1f40dc
<div style="border: 4px solid #1f40dc">Text here</div>
CSS codes
<p style="color:#1f40dc">Text here</p>
<div style="background-color:#1f40dc">Text here</div>
<div style="border: 4px solid #1f40dc">Text here</div>
#1f40dc Color on white background
This is how a font and box color of #1f40dc will look
on a white background.
#1f40dc Color on black background
This is how a font and box color of #1f40dc hex color will look
on a black background.