In RGB color space, #2a1789 hex color has a red value of 42, a green value of 23 and a blue value of 137.
In CMYK color space (used in color printing), #2a1789 hex color is composed of 69.34% cyan, 83.21% magenta, 0% yellow and 46.27% black.
#2a1789 color has a hue of 250 degrees, a saturation of 71.25% and a lightness of 31.4%.
#2a1789 hex color contains mainly BLUE.
The closest web safe color of #2a1789 is #330099
#2a1789 hex color has a decimal value of 2758537.
HEX | 2a1789 | #2a1789 |
---|---|---|
RGB | 42, 23, 137 | rgb(42, 23, 137) |
RGB Percent | 16.47, 9.02, 53.73 | rgb(16.47, 9.02, 53.73) |
CMYK | 69, 83, 0, 46 | |
HSL | 250°, 71.25, 31.4 | hsl(250, 71.25%, 31.4%) |
HSV | 250°, 83.2, 53.7 |
XYZ | 5.777, 2.911, 23.924 |
---|---|
Hunter Lab | 17.062, 30.581, -71.194 |
CIE-LAB | 19.684, 42.779, -59.161 |
CIE-LCH | 19.684, 73.007, 305.87 |
CIE-LUV | 69.34, 83.21, 0, 46.27 |
Web Safe | 330099 |
RGB percent of color #2a1789
CMYK percent of color #2a1789
Text with hexadecimal color #2a1789
This text has a font color of #2a1789
<p style="color:#2a1789">Text here</p>
#2a1789 Background Color
This box has a background color of #2a1789
<div style="background-color:#2a1789">Text here</div>
#2a1789 Border Color
This box has a border color of #2a1789
<div style="border: 4px solid #2a1789">Text here</div>
CSS codes
<p style="color:#2a1789">Text here</p>
<div style="background-color:#2a1789">Text here</div>
<div style="border: 4px solid #2a1789">Text here</div>
#2a1789 Color on white background
This is how a font and box color of #2a1789 will look
on a white background.
#2a1789 Color on black background
This is how a font and box color of #2a1789 hex color will look
on a black background.