In RGB color space, #1f2e42 hex color has a red value of 31, a green value of 46 and a blue value of 66.
In CMYK color space (used in color printing), #1f2e42 hex color is composed of 53.03% cyan, 30.3% magenta, 0% yellow and 74.12% black.
#1f2e42 color has a hue of 214.3 degrees, a saturation of 36.08% and a lightness of 19%.
#1f2e42 hex color contains mainly BLUE.
The closest web safe color of #1f2e42 is #333333
#1f2e42 hex color has a decimal value of 2043458.
HEX | 1f2e42 | #1f2e42 |
---|---|---|
RGB | 31, 46, 66 | rgb(31, 46, 66) |
RGB Percent | 12.16, 18.04, 25.88 | rgb(12.16, 18.04, 25.88) |
CMYK | 53, 30, 0, 74 | |
HSL | 214.3°, 36.08, 19 | hsl(214.3, 36.08%, 19%) |
HSV | 214.3°, 53, 25.9 |
XYZ | 2.525, 2.639, 5.53 |
---|---|
Hunter Lab | 16.245, -0.684, -8.812 |
CIE-LAB | 18.536, 0.33, -14.521 |
CIE-LCH | 18.536, 14.525, 271.302 |
CIE-LUV | 53.03, 30.3, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #1f2e42
CMYK percent of color #1f2e42
Text with hexadecimal color #1f2e42
This text has a font color of #1f2e42
<p style="color:#1f2e42">Text here</p>
#1f2e42 Background Color
This box has a background color of #1f2e42
<div style="background-color:#1f2e42">Text here</div>
#1f2e42 Border Color
This box has a border color of #1f2e42
<div style="border: 4px solid #1f2e42">Text here</div>
CSS codes
<p style="color:#1f2e42">Text here</p>
<div style="background-color:#1f2e42">Text here</div>
<div style="border: 4px solid #1f2e42">Text here</div>
#1f2e42 Color on white background
This is how a font and box color of #1f2e42 will look
on a white background.
#1f2e42 Color on black background
This is how a font and box color of #1f2e42 hex color will look
on a black background.