In RGB color space, #2a1a4f hex color has a red value of 42, a green value of 26 and a blue value of 79.
In CMYK color space (used in color printing), #2a1a4f hex color is composed of 46.84% cyan, 67.09% magenta, 0% yellow and 69.02% black.
#2a1a4f color has a hue of 258.1 degrees, a saturation of 50.48% and a lightness of 20.6%.
#2a1a4f hex color contains mainly BLUE.
The closest web safe color of #2a1a4f is #333366
#2a1a4f hex color has a decimal value of 2759247.
HEX | 2a1a4f | #2a1a4f |
---|---|---|
RGB | 42, 26, 79 | rgb(42, 26, 79) |
RGB Percent | 16.47, 10.2, 30.98 | rgb(16.47, 10.2, 30.98) |
CMYK | 47, 67, 0, 69 | |
HSL | 258.1°, 50.48, 20.6 | hsl(258.1, 50.48%, 20.6%) |
HSV | 258.1°, 67.1, 31 |
XYZ | 2.736, 1.796, 7.6 |
---|---|
Hunter Lab | 13.401, 12.989, -24.242 |
CIE-LAB | 14.378, 22.297, -29.971 |
CIE-LCH | 14.378, 37.355, 306.647 |
CIE-LUV | 46.84, 67.09, 0, 69.02 |
Web Safe | 333366 |
RGB percent of color #2a1a4f
CMYK percent of color #2a1a4f
Text with hexadecimal color #2a1a4f
This text has a font color of #2a1a4f
<p style="color:#2a1a4f">Text here</p>
#2a1a4f Background Color
This box has a background color of #2a1a4f
<div style="background-color:#2a1a4f">Text here</div>
#2a1a4f Border Color
This box has a border color of #2a1a4f
<div style="border: 4px solid #2a1a4f">Text here</div>
CSS codes
<p style="color:#2a1a4f">Text here</p>
<div style="background-color:#2a1a4f">Text here</div>
<div style="border: 4px solid #2a1a4f">Text here</div>
#2a1a4f Color on white background
This is how a font and box color of #2a1a4f will look
on a white background.
#2a1a4f Color on black background
This is how a font and box color of #2a1a4f hex color will look
on a black background.