In RGB color space, #2a1c9b hex color has a red value of 42, a green value of 28 and a blue value of 155.
In CMYK color space (used in color printing), #2a1c9b hex color is composed of 72.9% cyan, 81.94% magenta, 0% yellow and 39.22% black.
#2a1c9b color has a hue of 246.6 degrees, a saturation of 69.4% and a lightness of 35.9%.
#2a1c9b hex color contains mainly BLUE.
The closest web safe color of #2a1c9b is #333399
#2a1c9b hex color has a decimal value of 2759835.
HEX | 2a1c9b | #2a1c9b |
---|---|---|
RGB | 42, 28, 155 | rgb(42, 28, 155) |
RGB Percent | 16.47, 10.98, 60.78 | rgb(16.47, 10.98, 60.78) |
CMYK | 73, 82, 0, 39 | |
HSL | 246.6°, 69.4, 35.9 | hsl(246.6, 69.4%, 35.9%) |
HSV | 246.6°, 81.9, 60.8 |
XYZ | 7.286, 3.689, 31.338 |
---|---|
Hunter Lab | 19.207, 34.101, -83.294 |
CIE-LAB | 22.615, 45.954, -65.47 |
CIE-LCH | 22.615, 79.988, 305.065 |
CIE-LUV | 72.9, 81.94, 0, 39.22 |
Web Safe | 333399 |
RGB percent of color #2a1c9b
CMYK percent of color #2a1c9b
Text with hexadecimal color #2a1c9b
This text has a font color of #2a1c9b
<p style="color:#2a1c9b">Text here</p>
#2a1c9b Background Color
This box has a background color of #2a1c9b
<div style="background-color:#2a1c9b">Text here</div>
#2a1c9b Border Color
This box has a border color of #2a1c9b
<div style="border: 4px solid #2a1c9b">Text here</div>
CSS codes
<p style="color:#2a1c9b">Text here</p>
<div style="background-color:#2a1c9b">Text here</div>
<div style="border: 4px solid #2a1c9b">Text here</div>
#2a1c9b Color on white background
This is how a font and box color of #2a1c9b will look
on a white background.
#2a1c9b Color on black background
This is how a font and box color of #2a1c9b hex color will look
on a black background.