In RGB color space, #1f40af hex color has a red value of 31, a green value of 64 and a blue value of 175.
In CMYK color space (used in color printing), #1f40af hex color is composed of 82.29% cyan, 63.43% magenta, 0% yellow and 31.37% black.
#1f40af color has a hue of 226.3 degrees, a saturation of 69.9% and a lightness of 40.4%.
#1f40af hex color contains mainly BLUE.
The closest web safe color of #1f40af is #333399
#1f40af hex color has a decimal value of 2048175.
HEX | 1f40af | #1f40af |
---|---|---|
RGB | 31, 64, 175 | rgb(31, 64, 175) |
RGB Percent | 12.16, 25.1, 68.63 | rgb(12.16, 25.1, 68.63) |
CMYK | 82, 63, 0, 31 | |
HSL | 226.3°, 69.9, 40.4 | hsl(226.3, 69.9%, 40.4%) |
HSV | 226.3°, 82.3, 68.6 |
XYZ | 10.136, 7.053, 41.385 |
---|---|
Hunter Lab | 26.557, 21.651, -73.802 |
CIE-LAB | 31.927, 30.525, -62.241 |
CIE-LCH | 31.927, 69.323, 296.125 |
CIE-LUV | 82.29, 63.43, 0, 31.37 |
Web Safe | 333399 |
RGB percent of color #1f40af
CMYK percent of color #1f40af
Text with hexadecimal color #1f40af
This text has a font color of #1f40af
<p style="color:#1f40af">Text here</p>
#1f40af Background Color
This box has a background color of #1f40af
<div style="background-color:#1f40af">Text here</div>
#1f40af Border Color
This box has a border color of #1f40af
<div style="border: 4px solid #1f40af">Text here</div>
CSS codes
<p style="color:#1f40af">Text here</p>
<div style="background-color:#1f40af">Text here</div>
<div style="border: 4px solid #1f40af">Text here</div>
#1f40af Color on white background
This is how a font and box color of #1f40af will look
on a white background.
#1f40af Color on black background
This is how a font and box color of #1f40af hex color will look
on a black background.