In RGB color space, #2a1a8a hex color has a red value of 42, a green value of 26 and a blue value of 138.
In CMYK color space (used in color printing), #2a1a8a hex color is composed of 69.57% cyan, 81.16% magenta, 0% yellow and 45.88% black.
#2a1a8a color has a hue of 248.6 degrees, a saturation of 68.29% and a lightness of 32.2%.
#2a1a8a hex color contains mainly BLUE.
The closest web safe color of #2a1a8a is #333399
#2a1a8a hex color has a decimal value of 2759306.
HEX | 2a1a8a | #2a1a8a |
---|---|---|
RGB | 42, 26, 138 | rgb(42, 26, 138) |
RGB Percent | 16.47, 10.2, 54.12 | rgb(16.47, 10.2, 54.12) |
CMYK | 70, 81, 0, 46 | |
HSL | 248.6°, 68.29, 32.2 | hsl(248.6, 68.29%, 32.2%) |
HSV | 248.6°, 81.2, 54.1 |
XYZ | 5.912, 3.066, 24.325 |
---|---|
Hunter Lab | 17.51, 29.625, -70.109 |
CIE-LAB | 20.306, 41.615, -58.759 |
CIE-LCH | 20.306, 72.003, 305.307 |
CIE-LUV | 69.57, 81.16, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #2a1a8a
CMYK percent of color #2a1a8a
Text with hexadecimal color #2a1a8a
This text has a font color of #2a1a8a
<p style="color:#2a1a8a">Text here</p>
#2a1a8a Background Color
This box has a background color of #2a1a8a
<div style="background-color:#2a1a8a">Text here</div>
#2a1a8a Border Color
This box has a border color of #2a1a8a
<div style="border: 4px solid #2a1a8a">Text here</div>
CSS codes
<p style="color:#2a1a8a">Text here</p>
<div style="background-color:#2a1a8a">Text here</div>
<div style="border: 4px solid #2a1a8a">Text here</div>
#2a1a8a Color on white background
This is how a font and box color of #2a1a8a will look
on a white background.
#2a1a8a Color on black background
This is how a font and box color of #2a1a8a hex color will look
on a black background.