In RGB color space, #2a1b39 hex color has a red value of 42, a green value of 27 and a blue value of 57.
In CMYK color space (used in color printing), #2a1b39 hex color is composed of 26.32% cyan, 52.63% magenta, 0% yellow and 77.65% black.
#2a1b39 color has a hue of 270 degrees, a saturation of 35.71% and a lightness of 16.5%.
#2a1b39 hex color contains mainly BLUE.
The closest web safe color of #2a1b39 is #333333
#2a1b39 hex color has a decimal value of 2759481.
HEX | 2a1b39 | #2a1b39 |
---|---|---|
RGB | 42, 27, 57 | rgb(42, 27, 57) |
RGB Percent | 16.47, 10.59, 22.35 | rgb(16.47, 10.59, 22.35) |
CMYK | 26, 53, 0, 78 | |
HSL | 270°, 35.71, 16.5 | hsl(270, 35.71%, 16.5%) |
HSV | 270°, 52.6, 22.4 |
XYZ | 2.085, 1.572, 4.064 |
---|---|
Hunter Lab | 12.538, 7.742, -10.441 |
CIE-LAB | 13.059, 14.714, -16.738 |
CIE-LCH | 13.059, 22.286, 311.318 |
CIE-LUV | 26.32, 52.63, 0, 77.65 |
Web Safe | 333333 |
RGB percent of color #2a1b39
CMYK percent of color #2a1b39
Text with hexadecimal color #2a1b39
This text has a font color of #2a1b39
<p style="color:#2a1b39">Text here</p>
#2a1b39 Background Color
This box has a background color of #2a1b39
<div style="background-color:#2a1b39">Text here</div>
#2a1b39 Border Color
This box has a border color of #2a1b39
<div style="border: 4px solid #2a1b39">Text here</div>
CSS codes
<p style="color:#2a1b39">Text here</p>
<div style="background-color:#2a1b39">Text here</div>
<div style="border: 4px solid #2a1b39">Text here</div>
#2a1b39 Color on white background
This is how a font and box color of #2a1b39 will look
on a white background.
#2a1b39 Color on black background
This is how a font and box color of #2a1b39 hex color will look
on a black background.