In RGB color space, #2a1788 hex color has a red value of 42, a green value of 23 and a blue value of 136.
In CMYK color space (used in color printing), #2a1788 hex color is composed of 69.12% cyan, 83.09% magenta, 0% yellow and 46.67% black.
#2a1788 color has a hue of 250.1 degrees, a saturation of 71.07% and a lightness of 31.2%.
#2a1788 hex color contains mainly BLUE.
The closest web safe color of #2a1788 is #330099
#2a1788 hex color has a decimal value of 2758536.
HEX | 2a1788 | #2a1788 |
---|---|---|
RGB | 42, 23, 136 | rgb(42, 23, 136) |
RGB Percent | 16.47, 9.02, 53.33 | rgb(16.47, 9.02, 53.33) |
CMYK | 69, 83, 0, 47 | |
HSL | 250.1°, 71.07, 31.2 | hsl(250.1, 71.07%, 31.2%) |
HSV | 250.1°, 83.1, 53.3 |
XYZ | 5.705, 2.883, 23.548 |
---|---|
Hunter Lab | 16.979, 30.261, -70.341 |
CIE-LAB | 19.569, 42.453, -58.724 |
CIE-LCH | 19.569, 72.462, 305.864 |
CIE-LUV | 69.12, 83.09, 0, 46.67 |
Web Safe | 330099 |
RGB percent of color #2a1788
CMYK percent of color #2a1788
Text with hexadecimal color #2a1788
This text has a font color of #2a1788
<p style="color:#2a1788">Text here</p>
#2a1788 Background Color
This box has a background color of #2a1788
<div style="background-color:#2a1788">Text here</div>
#2a1788 Border Color
This box has a border color of #2a1788
<div style="border: 4px solid #2a1788">Text here</div>
CSS codes
<p style="color:#2a1788">Text here</p>
<div style="background-color:#2a1788">Text here</div>
<div style="border: 4px solid #2a1788">Text here</div>
#2a1788 Color on white background
This is how a font and box color of #2a1788 will look
on a white background.
#2a1788 Color on black background
This is how a font and box color of #2a1788 hex color will look
on a black background.