In RGB color space, #1f1f4c hex color has a red value of 31, a green value of 31 and a blue value of 76.
In CMYK color space (used in color printing), #1f1f4c hex color is composed of 59.21% cyan, 59.21% magenta, 0% yellow and 70.2% black.
#1f1f4c color has a hue of 240 degrees, a saturation of 42.06% and a lightness of 21%.
#1f1f4c hex color contains mainly BLUE.
The closest web safe color of #1f1f4c is #333333
#1f1f4c hex color has a decimal value of 2039628.
HEX | 1f1f4c | #1f1f4c |
---|---|---|
RGB | 31, 31, 76 | rgb(31, 31, 76) |
RGB Percent | 12.16, 12.16, 29.8 | rgb(12.16, 12.16, 29.8) |
CMYK | 59, 59, 0, 70 | |
HSL | 240°, 42.06, 21 | hsl(240, 42.06%, 21%) |
HSV | 240°, 59.2, 29.8 |
XYZ | 2.36, 1.793, 7.059 |
---|---|
Hunter Lab | 13.39, 8.027, -21.883 |
CIE-LAB | 14.361, 15.001, -27.998 |
CIE-LCH | 14.361, 31.763, 298.182 |
CIE-LUV | 59.21, 59.21, 0, 70.2 |
Web Safe | 333333 |
RGB percent of color #1f1f4c
CMYK percent of color #1f1f4c
Text with hexadecimal color #1f1f4c
This text has a font color of #1f1f4c
<p style="color:#1f1f4c">Text here</p>
#1f1f4c Background Color
This box has a background color of #1f1f4c
<div style="background-color:#1f1f4c">Text here</div>
#1f1f4c Border Color
This box has a border color of #1f1f4c
<div style="border: 4px solid #1f1f4c">Text here</div>
CSS codes
<p style="color:#1f1f4c">Text here</p>
<div style="background-color:#1f1f4c">Text here</div>
<div style="border: 4px solid #1f1f4c">Text here</div>
#1f1f4c Color on white background
This is how a font and box color of #1f1f4c will look
on a white background.
#1f1f4c Color on black background
This is how a font and box color of #1f1f4c hex color will look
on a black background.