In RGB color space, #2a1b9d hex color has a red value of 42, a green value of 27 and a blue value of 157.
In CMYK color space (used in color printing), #2a1b9d hex color is composed of 73.25% cyan, 82.8% magenta, 0% yellow and 38.43% black.
#2a1b9d color has a hue of 246.9 degrees, a saturation of 70.65% and a lightness of 36.1%.
#2a1b9d hex color contains mainly BLUE.
The closest web safe color of #2a1b9d is #333399
#2a1b9d hex color has a decimal value of 2759581.
HEX | 2a1b9d | #2a1b9d |
---|---|---|
RGB | 42, 27, 157 | rgb(42, 27, 157) |
RGB Percent | 16.47, 10.59, 61.57 | rgb(16.47, 10.59, 61.57) |
CMYK | 73, 83, 0, 38 | |
HSL | 246.9°, 70.65, 36.1 | hsl(246.9, 70.65%, 36.1%) |
HSV | 246.9°, 82.8, 61.6 |
XYZ | 7.433, 3.71, 32.223 |
---|---|
Hunter Lab | 19.261, 35.176, -85.705 |
CIE-LAB | 22.689, 47.057, -66.576 |
CIE-LCH | 22.689, 81.527, 305.253 |
CIE-LUV | 73.25, 82.8, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #2a1b9d
CMYK percent of color #2a1b9d
Text with hexadecimal color #2a1b9d
This text has a font color of #2a1b9d
<p style="color:#2a1b9d">Text here</p>
#2a1b9d Background Color
This box has a background color of #2a1b9d
<div style="background-color:#2a1b9d">Text here</div>
#2a1b9d Border Color
This box has a border color of #2a1b9d
<div style="border: 4px solid #2a1b9d">Text here</div>
CSS codes
<p style="color:#2a1b9d">Text here</p>
<div style="background-color:#2a1b9d">Text here</div>
<div style="border: 4px solid #2a1b9d">Text here</div>
#2a1b9d Color on white background
This is how a font and box color of #2a1b9d will look
on a white background.
#2a1b9d Color on black background
This is how a font and box color of #2a1b9d hex color will look
on a black background.