In RGB color space, #1f1740 hex color has a red value of 31, a green value of 23 and a blue value of 64.
In CMYK color space (used in color printing), #1f1740 hex color is composed of 51.56% cyan, 64.06% magenta, 0% yellow and 74.9% black.
#1f1740 color has a hue of 251.7 degrees, a saturation of 47.13% and a lightness of 17.1%.
#1f1740 hex color contains mainly BLUE.
The closest web safe color of #1f1740 is #330033
#1f1740 hex color has a decimal value of 2037568.
HEX | 1f1740 | #1f1740 |
---|---|---|
RGB | 31, 23, 64 | rgb(31, 23, 64) |
RGB Percent | 12.16, 9.02, 25.1 | rgb(12.16, 9.02, 25.1) |
CMYK | 52, 64, 0, 75 | |
HSL | 251.7°, 47.13, 17.1 | hsl(251.7, 47.13%, 17.1%) |
HSV | 251.7°, 64.1, 25.1 |
XYZ | 1.797, 1.274, 5.002 |
---|---|
Hunter Lab | 11.287, 8.666, -18.374 |
CIE-LAB | 11.092, 16.423, -24.918 |
CIE-LCH | 11.092, 29.843, 303.388 |
CIE-LUV | 51.56, 64.06, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #1f1740
CMYK percent of color #1f1740
Text with hexadecimal color #1f1740
This text has a font color of #1f1740
<p style="color:#1f1740">Text here</p>
#1f1740 Background Color
This box has a background color of #1f1740
<div style="background-color:#1f1740">Text here</div>
#1f1740 Border Color
This box has a border color of #1f1740
<div style="border: 4px solid #1f1740">Text here</div>
CSS codes
<p style="color:#1f1740">Text here</p>
<div style="background-color:#1f1740">Text here</div>
<div style="border: 4px solid #1f1740">Text here</div>
#1f1740 Color on white background
This is how a font and box color of #1f1740 will look
on a white background.
#1f1740 Color on black background
This is how a font and box color of #1f1740 hex color will look
on a black background.