In RGB color space, #2a1f56 hex color has a red value of 42, a green value of 31 and a blue value of 86.
In CMYK color space (used in color printing), #2a1f56 hex color is composed of 51.16% cyan, 63.95% magenta, 0% yellow and 66.27% black.
#2a1f56 color has a hue of 252 degrees, a saturation of 47.01% and a lightness of 22.9%.
#2a1f56 hex color contains mainly BLUE.
The closest web safe color of #2a1f56 is #333366
#2a1f56 hex color has a decimal value of 2760534.
HEX | 2a1f56 | #2a1f56 |
---|---|---|
RGB | 42, 31, 86 | rgb(42, 31, 86) |
RGB Percent | 16.47, 12.16, 33.73 | rgb(16.47, 12.16, 33.73) |
CMYK | 51, 64, 0, 66 | |
HSL | 252°, 47.01, 22.9 | hsl(252, 47.01%, 22.9%) |
HSV | 252°, 64, 33.7 |
XYZ | 3.125, 2.144, 9.053 |
---|---|
Hunter Lab | 14.642, 12.471, -26.408 |
CIE-LAB | 16.225, 21.277, -31.731 |
CIE-LCH | 16.225, 38.204, 303.844 |
CIE-LUV | 51.16, 63.95, 0, 66.27 |
Web Safe | 333366 |
RGB percent of color #2a1f56
CMYK percent of color #2a1f56
Text with hexadecimal color #2a1f56
This text has a font color of #2a1f56
<p style="color:#2a1f56">Text here</p>
#2a1f56 Background Color
This box has a background color of #2a1f56
<div style="background-color:#2a1f56">Text here</div>
#2a1f56 Border Color
This box has a border color of #2a1f56
<div style="border: 4px solid #2a1f56">Text here</div>
CSS codes
<p style="color:#2a1f56">Text here</p>
<div style="background-color:#2a1f56">Text here</div>
<div style="border: 4px solid #2a1f56">Text here</div>
#2a1f56 Color on white background
This is how a font and box color of #2a1f56 will look
on a white background.
#2a1f56 Color on black background
This is how a font and box color of #2a1f56 hex color will look
on a black background.