In RGB color space, #1f2f42 hex color has a red value of 31, a green value of 47 and a blue value of 66.
In CMYK color space (used in color printing), #1f2f42 hex color is composed of 53.03% cyan, 28.79% magenta, 0% yellow and 74.12% black.
#1f2f42 color has a hue of 212.6 degrees, a saturation of 36.08% and a lightness of 19%.
#1f2f42 hex color contains mainly BLUE.
The closest web safe color of #1f2f42 is #333333
#1f2f42 hex color has a decimal value of 2043714.
HEX | 1f2f42 | #1f2f42 |
---|---|---|
RGB | 31, 47, 66 | rgb(31, 47, 66) |
RGB Percent | 12.16, 18.43, 25.88 | rgb(12.16, 18.43, 25.88) |
CMYK | 53, 29, 0, 74 | |
HSL | 212.6°, 36.08, 19 | hsl(212.6, 36.08%, 19%) |
HSV | 212.6°, 53, 25.9 |
XYZ | 2.565, 2.718, 5.544 |
---|---|
Hunter Lab | 16.486, -1.08, -8.397 |
CIE-LAB | 18.877, -0.357, -13.995 |
CIE-LCH | 18.877, 14, 268.539 |
CIE-LUV | 53.03, 28.79, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #1f2f42
CMYK percent of color #1f2f42
Text with hexadecimal color #1f2f42
This text has a font color of #1f2f42
<p style="color:#1f2f42">Text here</p>
#1f2f42 Background Color
This box has a background color of #1f2f42
<div style="background-color:#1f2f42">Text here</div>
#1f2f42 Border Color
This box has a border color of #1f2f42
<div style="border: 4px solid #1f2f42">Text here</div>
CSS codes
<p style="color:#1f2f42">Text here</p>
<div style="background-color:#1f2f42">Text here</div>
<div style="border: 4px solid #1f2f42">Text here</div>
#1f2f42 Color on white background
This is how a font and box color of #1f2f42 will look
on a white background.
#1f2f42 Color on black background
This is how a font and box color of #1f2f42 hex color will look
on a black background.