In RGB color space, #1f1438 hex color has a red value of 31, a green value of 20 and a blue value of 56.
In CMYK color space (used in color printing), #1f1438 hex color is composed of 44.64% cyan, 64.29% magenta, 0% yellow and 78.04% black.
#1f1438 color has a hue of 258.3 degrees, a saturation of 47.37% and a lightness of 14.9%.
#1f1438 hex color contains mainly BLUE.
The closest web safe color of #1f1438 is #330033
#1f1438 hex color has a decimal value of 2036792.
HEX | 1f1438 | #1f1438 |
---|---|---|
RGB | 31, 20, 56 | rgb(31, 20, 56) |
RGB Percent | 12.16, 7.84, 21.96 | rgb(12.16, 7.84, 21.96) |
CMYK | 45, 64, 0, 78 | |
HSL | 258.3°, 47.37, 14.9 | hsl(258.3, 47.37%, 14.9%) |
HSV | 258.3°, 64.3, 22 |
XYZ | 1.529, 1.077, 3.869 |
---|---|
Hunter Lab | 10.378, 8.138, -14.84 |
CIE-LAB | 9.617, 15.801, -21.585 |
CIE-LCH | 9.617, 26.75, 306.205 |
CIE-LUV | 44.64, 64.29, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #1f1438
CMYK percent of color #1f1438
Text with hexadecimal color #1f1438
This text has a font color of #1f1438
<p style="color:#1f1438">Text here</p>
#1f1438 Background Color
This box has a background color of #1f1438
<div style="background-color:#1f1438">Text here</div>
#1f1438 Border Color
This box has a border color of #1f1438
<div style="border: 4px solid #1f1438">Text here</div>
CSS codes
<p style="color:#1f1438">Text here</p>
<div style="background-color:#1f1438">Text here</div>
<div style="border: 4px solid #1f1438">Text here</div>
#1f1438 Color on white background
This is how a font and box color of #1f1438 will look
on a white background.
#1f1438 Color on black background
This is how a font and box color of #1f1438 hex color will look
on a black background.