In RGB color space, #2a1f47 hex color has a red value of 42, a green value of 31 and a blue value of 71.
In CMYK color space (used in color printing), #2a1f47 hex color is composed of 40.85% cyan, 56.34% magenta, 0% yellow and 72.16% black.
#2a1f47 color has a hue of 256.5 degrees, a saturation of 39.22% and a lightness of 20%.
#2a1f47 hex color contains mainly BLUE.
The closest web safe color of #2a1f47 is #333333
#2a1f47 hex color has a decimal value of 2760519.
HEX | 2a1f47 | #2a1f47 |
---|---|---|
RGB | 42, 31, 71 | rgb(42, 31, 71) |
RGB Percent | 16.47, 12.16, 27.84 | rgb(16.47, 12.16, 27.84) |
CMYK | 41, 56, 0, 72 | |
HSL | 256.5°, 39.22, 20 | hsl(256.5, 39.22%, 20%) |
HSV | 256.5°, 56.3, 27.8 |
XYZ | 2.582, 1.927, 6.197 |
---|---|
Hunter Lab | 13.882, 8.908, -16.751 |
CIE-LAB | 15.099, 16.257, -23.312 |
CIE-LCH | 15.099, 28.421, 304.891 |
CIE-LUV | 40.85, 56.34, 0, 72.16 |
Web Safe | 333333 |
RGB percent of color #2a1f47
CMYK percent of color #2a1f47
Text with hexadecimal color #2a1f47
This text has a font color of #2a1f47
<p style="color:#2a1f47">Text here</p>
#2a1f47 Background Color
This box has a background color of #2a1f47
<div style="background-color:#2a1f47">Text here</div>
#2a1f47 Border Color
This box has a border color of #2a1f47
<div style="border: 4px solid #2a1f47">Text here</div>
CSS codes
<p style="color:#2a1f47">Text here</p>
<div style="background-color:#2a1f47">Text here</div>
<div style="border: 4px solid #2a1f47">Text here</div>
#2a1f47 Color on white background
This is how a font and box color of #2a1f47 will look
on a white background.
#2a1f47 Color on black background
This is how a font and box color of #2a1f47 hex color will look
on a black background.