In RGB color space, #2a5698 hex color has a red value of 42, a green value of 86 and a blue value of 152.
In CMYK color space (used in color printing), #2a5698 hex color is composed of 72.37% cyan, 43.42% magenta, 0% yellow and 40.39% black.
#2a5698 color has a hue of 216 degrees, a saturation of 56.7% and a lightness of 38%.
#2a5698 hex color contains mainly BLUE.
The closest web safe color of #2a5698 is #336699
#2a5698 hex color has a decimal value of 2774680.
HEX | 2a5698 | #2a5698 |
---|---|---|
RGB | 42, 86, 152 | rgb(42, 86, 152) |
RGB Percent | 16.47, 33.73, 59.61 | rgb(16.47, 33.73, 59.61) |
CMYK | 72, 43, 0, 40 | |
HSL | 216°, 56.7, 38 | hsl(216, 56.7%, 38%) |
HSV | 216°, 72.4, 59.6 |
XYZ | 9.95, 9.415, 30.999 |
---|---|
Hunter Lab | 30.684, 4.186, -38.42 |
CIE-LAB | 36.771, 8.186, -40.586 |
CIE-LCH | 36.771, 41.403, 281.403 |
CIE-LUV | 72.37, 43.42, 0, 40.39 |
Web Safe | 336699 |
RGB percent of color #2a5698
CMYK percent of color #2a5698
Text with hexadecimal color #2a5698
This text has a font color of #2a5698
<p style="color:#2a5698">Text here</p>
#2a5698 Background Color
This box has a background color of #2a5698
<div style="background-color:#2a5698">Text here</div>
#2a5698 Border Color
This box has a border color of #2a5698
<div style="border: 4px solid #2a5698">Text here</div>
CSS codes
<p style="color:#2a5698">Text here</p>
<div style="background-color:#2a5698">Text here</div>
<div style="border: 4px solid #2a5698">Text here</div>
#2a5698 Color on white background
This is how a font and box color of #2a5698 will look
on a white background.
#2a5698 Color on black background
This is how a font and box color of #2a5698 hex color will look
on a black background.