In RGB color space, #2a1a57 hex color has a red value of 42, a green value of 26 and a blue value of 87.
In CMYK color space (used in color printing), #2a1a57 hex color is composed of 51.72% cyan, 70.11% magenta, 0% yellow and 65.88% black.
#2a1a57 color has a hue of 255.7 degrees, a saturation of 53.98% and a lightness of 22.2%.
#2a1a57 hex color contains mainly BLUE.
The closest web safe color of #2a1a57 is #333366
#2a1a57 hex color has a decimal value of 2759255.
HEX | 2a1a57 | #2a1a57 |
---|---|---|
RGB | 42, 26, 87 | rgb(42, 26, 87) |
RGB Percent | 16.47, 10.2, 34.12 | rgb(16.47, 10.2, 34.12) |
CMYK | 52, 70, 0, 66 | |
HSL | 255.7°, 53.98, 22.2 | hsl(255.7, 53.98%, 22.2%) |
HSV | 255.7°, 70.1, 34.1 |
XYZ | 3.045, 1.919, 9.227 |
---|---|
Hunter Lab | 13.853, 14.994, -29.795 |
CIE-LAB | 15.056, 24.938, -34.302 |
CIE-LCH | 15.056, 42.409, 306.018 |
CIE-LUV | 51.72, 70.11, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #2a1a57
CMYK percent of color #2a1a57
Text with hexadecimal color #2a1a57
This text has a font color of #2a1a57
<p style="color:#2a1a57">Text here</p>
#2a1a57 Background Color
This box has a background color of #2a1a57
<div style="background-color:#2a1a57">Text here</div>
#2a1a57 Border Color
This box has a border color of #2a1a57
<div style="border: 4px solid #2a1a57">Text here</div>
CSS codes
<p style="color:#2a1a57">Text here</p>
<div style="background-color:#2a1a57">Text here</div>
<div style="border: 4px solid #2a1a57">Text here</div>
#2a1a57 Color on white background
This is how a font and box color of #2a1a57 will look
on a white background.
#2a1a57 Color on black background
This is how a font and box color of #2a1a57 hex color will look
on a black background.