In RGB color space, #1f1f4d hex color has a red value of 31, a green value of 31 and a blue value of 77.
In CMYK color space (used in color printing), #1f1f4d hex color is composed of 59.74% cyan, 59.74% magenta, 0% yellow and 69.8% black.
#1f1f4d color has a hue of 240 degrees, a saturation of 42.59% and a lightness of 21.2%.
#1f1f4d hex color contains mainly BLUE.
The closest web safe color of #1f1f4d is #333366
#1f1f4d hex color has a decimal value of 2039629.
HEX | 1f1f4d | #1f1f4d |
---|---|---|
RGB | 31, 31, 77 | rgb(31, 31, 77) |
RGB Percent | 12.16, 12.16, 30.2 | rgb(12.16, 12.16, 30.2) |
CMYK | 60, 60, 0, 70 | |
HSL | 240°, 42.59, 21.2 | hsl(240, 42.59%, 21.2%) |
HSV | 240°, 59.7, 30.2 |
XYZ | 2.395, 1.807, 7.244 |
---|---|
Hunter Lab | 13.442, 8.278, -22.541 |
CIE-LAB | 14.44, 15.379, -28.558 |
CIE-LCH | 14.44, 32.436, 298.303 |
CIE-LUV | 59.74, 59.74, 0, 69.8 |
Web Safe | 333366 |
RGB percent of color #1f1f4d
CMYK percent of color #1f1f4d
Text with hexadecimal color #1f1f4d
This text has a font color of #1f1f4d
<p style="color:#1f1f4d">Text here</p>
#1f1f4d Background Color
This box has a background color of #1f1f4d
<div style="background-color:#1f1f4d">Text here</div>
#1f1f4d Border Color
This box has a border color of #1f1f4d
<div style="border: 4px solid #1f1f4d">Text here</div>
CSS codes
<p style="color:#1f1f4d">Text here</p>
<div style="background-color:#1f1f4d">Text here</div>
<div style="border: 4px solid #1f1f4d">Text here</div>
#1f1f4d Color on white background
This is how a font and box color of #1f1f4d will look
on a white background.
#1f1f4d Color on black background
This is how a font and box color of #1f1f4d hex color will look
on a black background.