In RGB color space, #1f2042 hex color has a red value of 31, a green value of 32 and a blue value of 66.
In CMYK color space (used in color printing), #1f2042 hex color is composed of 53.03% cyan, 51.52% magenta, 0% yellow and 74.12% black.
#1f2042 color has a hue of 238.3 degrees, a saturation of 36.08% and a lightness of 19%.
#1f2042 hex color contains mainly BLUE.
The closest web safe color of #1f2042 is #333333
#1f2042 hex color has a decimal value of 2039874.
HEX | 1f2042 | #1f2042 |
---|---|---|
RGB | 31, 32, 66 | rgb(31, 32, 66) |
RGB Percent | 12.16, 12.55, 25.88 | rgb(12.16, 12.55, 25.88) |
CMYK | 53, 52, 0, 74 | |
HSL | 238.3°, 36.08, 19 | hsl(238.3, 36.08%, 19%) |
HSV | 238.3°, 53, 25.9 |
XYZ | 2.065, 1.718, 5.377 |
---|---|
Hunter Lab | 13.107, 5.184, -15.148 |
CIE-LAB | 13.932, 10.502, -21.77 |
CIE-LCH | 13.932, 24.171, 295.753 |
CIE-LUV | 53.03, 51.52, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #1f2042
CMYK percent of color #1f2042
Text with hexadecimal color #1f2042
This text has a font color of #1f2042
<p style="color:#1f2042">Text here</p>
#1f2042 Background Color
This box has a background color of #1f2042
<div style="background-color:#1f2042">Text here</div>
#1f2042 Border Color
This box has a border color of #1f2042
<div style="border: 4px solid #1f2042">Text here</div>
CSS codes
<p style="color:#1f2042">Text here</p>
<div style="background-color:#1f2042">Text here</div>
<div style="border: 4px solid #1f2042">Text here</div>
#1f2042 Color on white background
This is how a font and box color of #1f2042 will look
on a white background.
#1f2042 Color on black background
This is how a font and box color of #1f2042 hex color will look
on a black background.