In RGB color space, #2a5795 hex color has a red value of 42, a green value of 87 and a blue value of 149.
In CMYK color space (used in color printing), #2a5795 hex color is composed of 71.81% cyan, 41.61% magenta, 0% yellow and 41.57% black.
#2a5795 color has a hue of 214.8 degrees, a saturation of 56.02% and a lightness of 37.5%.
#2a5795 hex color contains mainly BLUE.
The closest web safe color of #2a5795 is #336699
#2a5795 hex color has a decimal value of 2774933.
HEX | 2a5795 | #2a5795 |
---|---|---|
RGB | 42, 87, 149 | rgb(42, 87, 149) |
RGB Percent | 16.47, 34.12, 58.43 | rgb(16.47, 34.12, 58.43) |
CMYK | 72, 42, 0, 42 | |
HSL | 214.8°, 56.02, 37.5 | hsl(214.8, 56.02%, 37.5%) |
HSV | 214.8°, 71.8, 58.4 |
XYZ | 9.788, 9.479, 29.747 |
---|---|
Hunter Lab | 30.788, 2.869, -35.734 |
CIE-LAB | 36.891, 6.386, -38.584 |
CIE-LCH | 36.891, 39.109, 279.398 |
CIE-LUV | 71.81, 41.61, 0, 41.57 |
Web Safe | 336699 |
RGB percent of color #2a5795
CMYK percent of color #2a5795
Text with hexadecimal color #2a5795
This text has a font color of #2a5795
<p style="color:#2a5795">Text here</p>
#2a5795 Background Color
This box has a background color of #2a5795
<div style="background-color:#2a5795">Text here</div>
#2a5795 Border Color
This box has a border color of #2a5795
<div style="border: 4px solid #2a5795">Text here</div>
CSS codes
<p style="color:#2a5795">Text here</p>
<div style="background-color:#2a5795">Text here</div>
<div style="border: 4px solid #2a5795">Text here</div>
#2a5795 Color on white background
This is how a font and box color of #2a5795 will look
on a white background.
#2a5795 Color on black background
This is how a font and box color of #2a5795 hex color will look
on a black background.