In RGB color space, #2a1bab hex color has a red value of 42, a green value of 27 and a blue value of 171.
In CMYK color space (used in color printing), #2a1bab hex color is composed of 75.44% cyan, 84.21% magenta, 0% yellow and 32.94% black.
#2a1bab color has a hue of 246.3 degrees, a saturation of 72.73% and a lightness of 38.8%.
#2a1bab hex color contains mainly BLUE.
The closest web safe color of #2a1bab is #333399
#2a1bab hex color has a decimal value of 2759595.
HEX | 2a1bab | #2a1bab |
---|---|---|
RGB | 42, 27, 171 | rgb(42, 27, 171) |
RGB Percent | 16.47, 10.59, 67.06 | rgb(16.47, 10.59, 67.06) |
CMYK | 75, 84, 0, 33 | |
HSL | 246.3°, 72.73, 38.8 | hsl(246.3, 72.73%, 38.8%) |
HSV | 246.3°, 84.2, 67.1 |
XYZ | 8.697, 4.216, 38.884 |
---|---|
Hunter Lab | 20.533, 39.674, -97.907 |
CIE-LAB | 24.373, 51.288, -72.286 |
CIE-LCH | 24.373, 88.633, 305.356 |
CIE-LUV | 75.44, 84.21, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2a1bab
CMYK percent of color #2a1bab
Text with hexadecimal color #2a1bab
This text has a font color of #2a1bab
<p style="color:#2a1bab">Text here</p>
#2a1bab Background Color
This box has a background color of #2a1bab
<div style="background-color:#2a1bab">Text here</div>
#2a1bab Border Color
This box has a border color of #2a1bab
<div style="border: 4px solid #2a1bab">Text here</div>
CSS codes
<p style="color:#2a1bab">Text here</p>
<div style="background-color:#2a1bab">Text here</div>
<div style="border: 4px solid #2a1bab">Text here</div>
#2a1bab Color on white background
This is how a font and box color of #2a1bab will look
on a white background.
#2a1bab Color on black background
This is how a font and box color of #2a1bab hex color will look
on a black background.