In RGB color space, #2a5898 hex color has a red value of 42, a green value of 88 and a blue value of 152.
In CMYK color space (used in color printing), #2a5898 hex color is composed of 72.37% cyan, 42.11% magenta, 0% yellow and 40.39% black.
#2a5898 color has a hue of 214.9 degrees, a saturation of 56.7% and a lightness of 38%.
#2a5898 hex color contains mainly BLUE.
The closest web safe color of #2a5898 is #336699
#2a5898 hex color has a decimal value of 2775192.
HEX | 2a5898 | #2a5898 |
---|---|---|
RGB | 42, 88, 152 | rgb(42, 88, 152) |
RGB Percent | 16.47, 34.51, 59.61 | rgb(16.47, 34.51, 59.61) |
CMYK | 72, 42, 0, 40 | |
HSL | 214.9°, 56.7, 38 | hsl(214.9, 56.7%, 38%) |
HSV | 214.9°, 72.4, 59.6 |
XYZ | 10.112, 9.739, 31.053 |
---|---|
Hunter Lab | 31.207, 3.226, -37.152 |
CIE-LAB | 37.37, 6.878, -39.63 |
CIE-LCH | 37.37, 40.222, 279.846 |
CIE-LUV | 72.37, 42.11, 0, 40.39 |
Web Safe | 336699 |
RGB percent of color #2a5898
CMYK percent of color #2a5898
Text with hexadecimal color #2a5898
This text has a font color of #2a5898
<p style="color:#2a5898">Text here</p>
#2a5898 Background Color
This box has a background color of #2a5898
<div style="background-color:#2a5898">Text here</div>
#2a5898 Border Color
This box has a border color of #2a5898
<div style="border: 4px solid #2a5898">Text here</div>
CSS codes
<p style="color:#2a5898">Text here</p>
<div style="background-color:#2a5898">Text here</div>
<div style="border: 4px solid #2a5898">Text here</div>
#2a5898 Color on white background
This is how a font and box color of #2a5898 will look
on a white background.
#2a5898 Color on black background
This is how a font and box color of #2a5898 hex color will look
on a black background.