In RGB color space, #1f1f54 hex color has a red value of 31, a green value of 31 and a blue value of 84.
In CMYK color space (used in color printing), #1f1f54 hex color is composed of 63.1% cyan, 63.1% magenta, 0% yellow and 67.06% black.
#1f1f54 color has a hue of 240 degrees, a saturation of 46.09% and a lightness of 22.5%.
#1f1f54 hex color contains mainly BLUE.
The closest web safe color of #1f1f54 is #333366
#1f1f54 hex color has a decimal value of 2039636.
HEX | 1f1f54 | #1f1f54 |
---|---|---|
RGB | 31, 31, 84 | rgb(31, 31, 84) |
RGB Percent | 12.16, 12.16, 32.94 | rgb(12.16, 12.16, 32.94) |
CMYK | 63, 63, 0, 67 | |
HSL | 240°, 46.09, 22.5 | hsl(240, 46.09%, 22.5%) |
HSV | 240°, 63.1, 32.9 |
XYZ | 2.655, 1.911, 8.616 |
---|---|
Hunter Lab | 13.824, 10.091, -27.277 |
CIE-LAB | 15.013, 18.032, -32.393 |
CIE-LCH | 15.013, 37.074, 299.103 |
CIE-LUV | 63.1, 63.1, 0, 67.06 |
Web Safe | 333366 |
RGB percent of color #1f1f54
CMYK percent of color #1f1f54
Text with hexadecimal color #1f1f54
This text has a font color of #1f1f54
<p style="color:#1f1f54">Text here</p>
#1f1f54 Background Color
This box has a background color of #1f1f54
<div style="background-color:#1f1f54">Text here</div>
#1f1f54 Border Color
This box has a border color of #1f1f54
<div style="border: 4px solid #1f1f54">Text here</div>
CSS codes
<p style="color:#1f1f54">Text here</p>
<div style="background-color:#1f1f54">Text here</div>
<div style="border: 4px solid #1f1f54">Text here</div>
#1f1f54 Color on white background
This is how a font and box color of #1f1f54 will look
on a white background.
#1f1f54 Color on black background
This is how a font and box color of #1f1f54 hex color will look
on a black background.