In RGB color space, #1f40ad hex color has a red value of 31, a green value of 64 and a blue value of 173.
In CMYK color space (used in color printing), #1f40ad hex color is composed of 82.08% cyan, 63.01% magenta, 0% yellow and 32.16% black.
#1f40ad color has a hue of 226.1 degrees, a saturation of 69.61% and a lightness of 40%.
#1f40ad hex color contains mainly BLUE.
The closest web safe color of #1f40ad is #333399
#1f40ad hex color has a decimal value of 2048173.
HEX | 1f40ad | #1f40ad |
---|---|---|
RGB | 31, 64, 173 | rgb(31, 64, 173) |
RGB Percent | 12.16, 25.1, 67.84 | rgb(12.16, 25.1, 67.84) |
CMYK | 82, 63, 0, 32 | |
HSL | 226.1°, 69.61, 40 | hsl(226.1, 69.61%, 40%) |
HSV | 226.1°, 82.1, 67.8 |
XYZ | 9.941, 6.975, 40.358 |
---|---|
Hunter Lab | 26.41, 20.971, -72.115 |
CIE-LAB | 31.75, 29.759, -61.338 |
CIE-LCH | 31.75, 68.176, 295.881 |
CIE-LUV | 82.08, 63.01, 0, 32.16 |
Web Safe | 333399 |
RGB percent of color #1f40ad
CMYK percent of color #1f40ad
Text with hexadecimal color #1f40ad
This text has a font color of #1f40ad
<p style="color:#1f40ad">Text here</p>
#1f40ad Background Color
This box has a background color of #1f40ad
<div style="background-color:#1f40ad">Text here</div>
#1f40ad Border Color
This box has a border color of #1f40ad
<div style="border: 4px solid #1f40ad">Text here</div>
CSS codes
<p style="color:#1f40ad">Text here</p>
<div style="background-color:#1f40ad">Text here</div>
<div style="border: 4px solid #1f40ad">Text here</div>
#1f40ad Color on white background
This is how a font and box color of #1f40ad will look
on a white background.
#1f40ad Color on black background
This is how a font and box color of #1f40ad hex color will look
on a black background.