In RGB color space, #2a5791 hex color has a red value of 42, a green value of 87 and a blue value of 145.
In CMYK color space (used in color printing), #2a5791 hex color is composed of 71.03% cyan, 40% magenta, 0% yellow and 43.14% black.
#2a5791 color has a hue of 213.8 degrees, a saturation of 55.08% and a lightness of 36.7%.
#2a5791 hex color contains mainly BLUE.
The closest web safe color of #2a5791 is #336699
#2a5791 hex color has a decimal value of 2774929.
HEX | 2a5791 | #2a5791 |
---|---|---|
RGB | 42, 87, 145 | rgb(42, 87, 145) |
RGB Percent | 16.47, 34.12, 56.86 | rgb(16.47, 34.12, 56.86) |
CMYK | 71, 40, 0, 43 | |
HSL | 213.8°, 55.08, 36.7 | hsl(213.8, 55.08%, 36.7%) |
HSV | 213.8°, 71, 56.9 |
XYZ | 9.474, 9.353, 28.094 |
---|---|
Hunter Lab | 30.583, 1.777, -33.057 |
CIE-LAB | 36.655, 4.867, -36.54 |
CIE-LCH | 36.655, 36.863, 277.587 |
CIE-LUV | 71.03, 40, 0, 43.14 |
Web Safe | 336699 |
RGB percent of color #2a5791
CMYK percent of color #2a5791
Text with hexadecimal color #2a5791
This text has a font color of #2a5791
<p style="color:#2a5791">Text here</p>
#2a5791 Background Color
This box has a background color of #2a5791
<div style="background-color:#2a5791">Text here</div>
#2a5791 Border Color
This box has a border color of #2a5791
<div style="border: 4px solid #2a5791">Text here</div>
CSS codes
<p style="color:#2a5791">Text here</p>
<div style="background-color:#2a5791">Text here</div>
<div style="border: 4px solid #2a5791">Text here</div>
#2a5791 Color on white background
This is how a font and box color of #2a5791 will look
on a white background.
#2a5791 Color on black background
This is how a font and box color of #2a5791 hex color will look
on a black background.