In RGB color space, #2a1f38 hex color has a red value of 42, a green value of 31 and a blue value of 56.
In CMYK color space (used in color printing), #2a1f38 hex color is composed of 25% cyan, 44.64% magenta, 0% yellow and 78.04% black.
#2a1f38 color has a hue of 266.4 degrees, a saturation of 28.74% and a lightness of 17.1%.
#2a1f38 hex color contains mainly BLUE.
The closest web safe color of #2a1f38 is #333333
#2a1f38 hex color has a decimal value of 2760504.
HEX | 2a1f38 | #2a1f38 |
---|---|---|
RGB | 42, 31, 56 | rgb(42, 31, 56) |
RGB Percent | 16.47, 12.16, 21.96 | rgb(16.47, 12.16, 21.96) |
CMYK | 25, 45, 0, 78 | |
HSL | 266.4°, 28.74, 17.1 | hsl(266.4, 28.74%, 17.1%) |
HSV | 266.4°, 44.6, 22 |
XYZ | 2.159, 1.758, 3.967 |
---|---|
Hunter Lab | 13.259, 5.863, -8.458 |
CIE-LAB | 14.162, 11.594, -14.299 |
CIE-LCH | 14.162, 18.409, 309.036 |
CIE-LUV | 25, 44.64, 0, 78.04 |
Web Safe | 333333 |
RGB percent of color #2a1f38
CMYK percent of color #2a1f38
Text with hexadecimal color #2a1f38
This text has a font color of #2a1f38
<p style="color:#2a1f38">Text here</p>
#2a1f38 Background Color
This box has a background color of #2a1f38
<div style="background-color:#2a1f38">Text here</div>
#2a1f38 Border Color
This box has a border color of #2a1f38
<div style="border: 4px solid #2a1f38">Text here</div>
CSS codes
<p style="color:#2a1f38">Text here</p>
<div style="background-color:#2a1f38">Text here</div>
<div style="border: 4px solid #2a1f38">Text here</div>
#2a1f38 Color on white background
This is how a font and box color of #2a1f38 will look
on a white background.
#2a1f38 Color on black background
This is how a font and box color of #2a1f38 hex color will look
on a black background.