In RGB color space, #2a1f89 hex color has a red value of 42, a green value of 31 and a blue value of 137.
In CMYK color space (used in color printing), #2a1f89 hex color is composed of 69.34% cyan, 77.37% magenta, 0% yellow and 46.27% black.
#2a1f89 color has a hue of 246.2 degrees, a saturation of 63.1% and a lightness of 32.9%.
#2a1f89 hex color contains mainly BLUE.
The closest web safe color of #2a1f89 is #333399
#2a1f89 hex color has a decimal value of 2760585.
HEX | 2a1f89 | #2a1f89 |
---|---|---|
RGB | 42, 31, 137 | rgb(42, 31, 137) |
RGB Percent | 16.47, 12.16, 53.73 | rgb(16.47, 12.16, 53.73) |
CMYK | 69, 77, 0, 46 | |
HSL | 246.2°, 63.1, 32.9 | hsl(246.2, 63.1%, 32.9%) |
HSV | 246.2°, 77.4, 53.7 |
XYZ | 5.96, 3.278, 23.986 |
---|---|
Hunter Lab | 18.105, 27.076, -65.874 |
CIE-LAB | 21.125, 38.623, -56.782 |
CIE-LCH | 21.125, 68.673, 304.223 |
CIE-LUV | 69.34, 77.37, 0, 46.27 |
Web Safe | 333399 |
RGB percent of color #2a1f89
CMYK percent of color #2a1f89
Text with hexadecimal color #2a1f89
This text has a font color of #2a1f89
<p style="color:#2a1f89">Text here</p>
#2a1f89 Background Color
This box has a background color of #2a1f89
<div style="background-color:#2a1f89">Text here</div>
#2a1f89 Border Color
This box has a border color of #2a1f89
<div style="border: 4px solid #2a1f89">Text here</div>
CSS codes
<p style="color:#2a1f89">Text here</p>
<div style="background-color:#2a1f89">Text here</div>
<div style="border: 4px solid #2a1f89">Text here</div>
#2a1f89 Color on white background
This is how a font and box color of #2a1f89 will look
on a white background.
#2a1f89 Color on black background
This is how a font and box color of #2a1f89 hex color will look
on a black background.