In RGB color space, #1f2e40 hex color has a red value of 31, a green value of 46 and a blue value of 64.
In CMYK color space (used in color printing), #1f2e40 hex color is composed of 51.56% cyan, 28.13% magenta, 0% yellow and 74.9% black.
#1f2e40 color has a hue of 212.7 degrees, a saturation of 34.74% and a lightness of 18.6%.
#1f2e40 hex color contains mainly BLUE.
The closest web safe color of #1f2e40 is #333333
#1f2e40 hex color has a decimal value of 2043456.
HEX | 1f2e40 | #1f2e40 |
---|---|---|
RGB | 31, 46, 64 | rgb(31, 46, 64) |
RGB Percent | 12.16, 18.04, 25.1 | rgb(12.16, 18.04, 25.1) |
CMYK | 52, 28, 0, 75 | |
HSL | 212.7°, 34.74, 18.6 | hsl(212.7, 34.74%, 18.6%) |
HSV | 212.7°, 51.6, 25.1 |
XYZ | 2.467, 2.615, 5.225 |
---|---|
Hunter Lab | 16.171, -1.068, -7.838 |
CIE-LAB | 18.431, -0.369, -13.315 |
CIE-LCH | 18.431, 13.32, 268.413 |
CIE-LUV | 51.56, 28.13, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #1f2e40
CMYK percent of color #1f2e40
Text with hexadecimal color #1f2e40
This text has a font color of #1f2e40
<p style="color:#1f2e40">Text here</p>
#1f2e40 Background Color
This box has a background color of #1f2e40
<div style="background-color:#1f2e40">Text here</div>
#1f2e40 Border Color
This box has a border color of #1f2e40
<div style="border: 4px solid #1f2e40">Text here</div>
CSS codes
<p style="color:#1f2e40">Text here</p>
<div style="background-color:#1f2e40">Text here</div>
<div style="border: 4px solid #1f2e40">Text here</div>
#1f2e40 Color on white background
This is how a font and box color of #1f2e40 will look
on a white background.
#1f2e40 Color on black background
This is how a font and box color of #1f2e40 hex color will look
on a black background.