In RGB color space, #1f40a4 hex color has a red value of 31, a green value of 64 and a blue value of 164.
In CMYK color space (used in color printing), #1f40a4 hex color is composed of 81.1% cyan, 60.98% magenta, 0% yellow and 35.69% black.
#1f40a4 color has a hue of 225.1 degrees, a saturation of 68.21% and a lightness of 38.2%.
#1f40a4 hex color contains mainly BLUE.
The closest web safe color of #1f40a4 is #333399
#1f40a4 hex color has a decimal value of 2048164.
HEX | 1f40a4 | #1f40a4 |
---|---|---|
RGB | 31, 64, 164 | rgb(31, 64, 164) |
RGB Percent | 12.16, 25.1, 64.31 | rgb(12.16, 25.1, 64.31) |
CMYK | 81, 61, 0, 36 | |
HSL | 225.1°, 68.21, 38.2 | hsl(225.1, 68.21%, 38.2%) |
HSV | 225.1°, 81.1, 64.3 |
XYZ | 9.099, 6.638, 35.924 |
---|---|
Hunter Lab | 25.764, 17.952, -64.635 |
CIE-LAB | 30.968, 26.28, -57.219 |
CIE-LCH | 30.968, 62.965, 294.669 |
CIE-LUV | 81.1, 60.98, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #1f40a4
CMYK percent of color #1f40a4
Text with hexadecimal color #1f40a4
This text has a font color of #1f40a4
<p style="color:#1f40a4">Text here</p>
#1f40a4 Background Color
This box has a background color of #1f40a4
<div style="background-color:#1f40a4">Text here</div>
#1f40a4 Border Color
This box has a border color of #1f40a4
<div style="border: 4px solid #1f40a4">Text here</div>
CSS codes
<p style="color:#1f40a4">Text here</p>
<div style="background-color:#1f40a4">Text here</div>
<div style="border: 4px solid #1f40a4">Text here</div>
#1f40a4 Color on white background
This is how a font and box color of #1f40a4 will look
on a white background.
#1f40a4 Color on black background
This is how a font and box color of #1f40a4 hex color will look
on a black background.