In RGB color space, #2a1d8c hex color has a red value of 42, a green value of 29 and a blue value of 140.
In CMYK color space (used in color printing), #2a1d8c hex color is composed of 70% cyan, 79.29% magenta, 0% yellow and 45.1% black.
#2a1d8c color has a hue of 247 degrees, a saturation of 65.68% and a lightness of 33.1%.
#2a1d8c hex color contains mainly BLUE.
The closest web safe color of #2a1d8c is #333399
#2a1d8c hex color has a decimal value of 2760076.
HEX | 2a1d8c | #2a1d8c |
---|---|---|
RGB | 42, 29, 140 | rgb(42, 29, 140) |
RGB Percent | 16.47, 11.37, 54.9 | rgb(16.47, 11.37, 54.9) |
CMYK | 70, 79, 0, 45 | |
HSL | 247°, 65.68, 33.1 | hsl(247, 65.68%, 33.1%) |
HSV | 247°, 79.3, 54.9 |
XYZ | 6.128, 3.264, 25.118 |
---|---|
Hunter Lab | 18.067, 28.929, -69.785 |
CIE-LAB | 21.072, 40.7, -58.744 |
CIE-LCH | 21.072, 71.466, 304.716 |
CIE-LUV | 70, 79.29, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #2a1d8c
CMYK percent of color #2a1d8c
Text with hexadecimal color #2a1d8c
This text has a font color of #2a1d8c
<p style="color:#2a1d8c">Text here</p>
#2a1d8c Background Color
This box has a background color of #2a1d8c
<div style="background-color:#2a1d8c">Text here</div>
#2a1d8c Border Color
This box has a border color of #2a1d8c
<div style="border: 4px solid #2a1d8c">Text here</div>
CSS codes
<p style="color:#2a1d8c">Text here</p>
<div style="background-color:#2a1d8c">Text here</div>
<div style="border: 4px solid #2a1d8c">Text here</div>
#2a1d8c Color on white background
This is how a font and box color of #2a1d8c will look
on a white background.
#2a1d8c Color on black background
This is how a font and box color of #2a1d8c hex color will look
on a black background.