In RGB color space, #2a1871 hex color has a red value of 42, a green value of 24 and a blue value of 113.
In CMYK color space (used in color printing), #2a1871 hex color is composed of 62.83% cyan, 78.76% magenta, 0% yellow and 55.69% black.
#2a1871 color has a hue of 252.1 degrees, a saturation of 64.96% and a lightness of 26.9%.
#2a1871 hex color contains mainly BLUE.
The closest web safe color of #2a1871 is #330066
#2a1871 hex color has a decimal value of 2758769.
HEX | 2a1871 | #2a1871 |
---|---|---|
RGB | 42, 24, 113 | rgb(42, 24, 113) |
RGB Percent | 16.47, 9.41, 44.31 | rgb(16.47, 9.41, 44.31) |
CMYK | 63, 79, 0, 56 | |
HSL | 252.1°, 64.96, 26.9 | hsl(252.1, 64.96%, 26.9%) |
HSV | 252.1°, 78.8, 44.3 |
XYZ | 4.262, 2.338, 15.849 |
---|---|
Hunter Lab | 15.291, 22.996, -50.752 |
CIE-LAB | 17.17, 34.663, -48.018 |
CIE-LCH | 17.17, 59.222, 305.825 |
CIE-LUV | 62.83, 78.76, 0, 55.69 |
Web Safe | 330066 |
RGB percent of color #2a1871
CMYK percent of color #2a1871
Text with hexadecimal color #2a1871
This text has a font color of #2a1871
<p style="color:#2a1871">Text here</p>
#2a1871 Background Color
This box has a background color of #2a1871
<div style="background-color:#2a1871">Text here</div>
#2a1871 Border Color
This box has a border color of #2a1871
<div style="border: 4px solid #2a1871">Text here</div>
CSS codes
<p style="color:#2a1871">Text here</p>
<div style="background-color:#2a1871">Text here</div>
<div style="border: 4px solid #2a1871">Text here</div>
#2a1871 Color on white background
This is how a font and box color of #2a1871 will look
on a white background.
#2a1871 Color on black background
This is how a font and box color of #2a1871 hex color will look
on a black background.