In RGB color space, #1a1f31 hex color has a red value of 26, a green value of 31 and a blue value of 49.
In CMYK color space (used in color printing), #1a1f31 hex color is composed of 46.94% cyan, 36.73% magenta, 0% yellow and 80.78% black.
#1a1f31 color has a hue of 227 degrees, a saturation of 30.67% and a lightness of 14.7%.
#1a1f31 hex color contains mainly BLUE.
The closest web safe color of #1a1f31 is #333333
#1a1f31 hex color has a decimal value of 1711921.
HEX | 1a1f31 | #1a1f31 |
---|---|---|
RGB | 26, 31, 49 | rgb(26, 31, 49) |
RGB Percent | 10.2, 12.16, 19.22 | rgb(10.2, 12.16, 19.22) |
CMYK | 47, 37, 0, 81 | |
HSL | 227°, 30.67, 14.7 | hsl(227, 30.67%, 14.7%) |
HSV | 227°, 46.9, 19.2 |
XYZ | 1.47, 1.421, 3.103 |
---|---|
Hunter Lab | 11.921, 1.151, -7.089 |
CIE-LAB | 12.097, 3.468, -12.647 |
CIE-LCH | 12.097, 13.114, 285.334 |
CIE-LUV | 46.94, 36.73, 0, 80.78 |
Web Safe | 333333 |
RGB percent of color #1a1f31
CMYK percent of color #1a1f31
Text with hexadecimal color #1a1f31
This text has a font color of #1a1f31
<p style="color:#1a1f31">Text here</p>
#1a1f31 Background Color
This box has a background color of #1a1f31
<div style="background-color:#1a1f31">Text here</div>
#1a1f31 Border Color
This box has a border color of #1a1f31
<div style="border: 4px solid #1a1f31">Text here</div>
CSS codes
<p style="color:#1a1f31">Text here</p>
<div style="background-color:#1a1f31">Text here</div>
<div style="border: 4px solid #1a1f31">Text here</div>
#1a1f31 Color on white background
This is how a font and box color of #1a1f31 will look
on a white background.
#1a1f31 Color on black background
This is how a font and box color of #1a1f31 hex color will look
on a black background.