In RGB color space, #1f40d7 hex color has a red value of 31, a green value of 64 and a blue value of 215.
In CMYK color space (used in color printing), #1f40d7 hex color is composed of 85.58% cyan, 70.23% magenta, 0% yellow and 15.69% black.
#1f40d7 color has a hue of 229.2 degrees, a saturation of 74.8% and a lightness of 48.2%.
#1f40d7 hex color contains mainly BLUE.
The closest web safe color of #1f40d7 is #3333cc
#1f40d7 hex color has a decimal value of 2048215.
HEX | 1f40d7 | #1f40d7 |
---|---|---|
RGB | 31, 64, 215 | rgb(31, 64, 215) |
RGB Percent | 12.16, 25.1, 84.31 | rgb(12.16, 25.1, 84.31) |
CMYK | 86, 70, 0, 16 | |
HSL | 229.2°, 74.8, 48.2 | hsl(229.2, 74.8%, 48.2%) |
HSV | 229.2°, 85.6, 84.3 |
XYZ | 14.664, 8.864, 65.228 |
---|---|
Hunter Lab | 29.772, 35.816, -109.057 |
CIE-LAB | 35.721, 45.233, -79.425 |
CIE-LCH | 35.721, 91.402, 299.662 |
CIE-LUV | 85.58, 70.23, 0, 15.69 |
Web Safe | 3333cc |
RGB percent of color #1f40d7
CMYK percent of color #1f40d7
Text with hexadecimal color #1f40d7
This text has a font color of #1f40d7
<p style="color:#1f40d7">Text here</p>
#1f40d7 Background Color
This box has a background color of #1f40d7
<div style="background-color:#1f40d7">Text here</div>
#1f40d7 Border Color
This box has a border color of #1f40d7
<div style="border: 4px solid #1f40d7">Text here</div>
CSS codes
<p style="color:#1f40d7">Text here</p>
<div style="background-color:#1f40d7">Text here</div>
<div style="border: 4px solid #1f40d7">Text here</div>
#1f40d7 Color on white background
This is how a font and box color of #1f40d7 will look
on a white background.
#1f40d7 Color on black background
This is how a font and box color of #1f40d7 hex color will look
on a black background.