In RGB color space, #1f1940 hex color has a red value of 31, a green value of 25 and a blue value of 64.
In CMYK color space (used in color printing), #1f1940 hex color is composed of 51.56% cyan, 60.94% magenta, 0% yellow and 74.9% black.
#1f1940 color has a hue of 249.2 degrees, a saturation of 43.82% and a lightness of 17.5%.
#1f1940 hex color contains mainly BLUE.
The closest web safe color of #1f1940 is #330033
#1f1940 hex color has a decimal value of 2038080.
HEX | 1f1940 | #1f1940 |
---|---|---|
RGB | 31, 25, 64 | rgb(31, 25, 64) |
RGB Percent | 12.16, 9.8, 25.1 | rgb(12.16, 9.8, 25.1) |
CMYK | 52, 61, 0, 75 | |
HSL | 249.2°, 43.82, 17.5 | hsl(249.2, 43.82%, 17.5%) |
HSV | 249.2°, 60.9, 25.1 |
XYZ | 1.838, 1.357, 5.015 |
---|---|
Hunter Lab | 11.649, 7.778, -17.37 |
CIE-LAB | 11.668, 14.946, -23.987 |
CIE-LCH | 11.668, 28.262, 301.927 |
CIE-LUV | 51.56, 60.94, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #1f1940
CMYK percent of color #1f1940
Text with hexadecimal color #1f1940
This text has a font color of #1f1940
<p style="color:#1f1940">Text here</p>
#1f1940 Background Color
This box has a background color of #1f1940
<div style="background-color:#1f1940">Text here</div>
#1f1940 Border Color
This box has a border color of #1f1940
<div style="border: 4px solid #1f1940">Text here</div>
CSS codes
<p style="color:#1f1940">Text here</p>
<div style="background-color:#1f1940">Text here</div>
<div style="border: 4px solid #1f1940">Text here</div>
#1f1940 Color on white background
This is how a font and box color of #1f1940 will look
on a white background.
#1f1940 Color on black background
This is how a font and box color of #1f1940 hex color will look
on a black background.