In RGB color space, #2a5ba6 hex color has a red value of 42, a green value of 91 and a blue value of 166.
In CMYK color space (used in color printing), #2a5ba6 hex color is composed of 74.7% cyan, 45.18% magenta, 0% yellow and 34.9% black.
#2a5ba6 color has a hue of 216.3 degrees, a saturation of 59.62% and a lightness of 40.8%.
#2a5ba6 hex color contains mainly BLUE.
The closest web safe color of #2a5ba6 is #336699
#2a5ba6 hex color has a decimal value of 2775974.
HEX | 2a5ba6 | #2a5ba6 |
---|---|---|
RGB | 42, 91, 166 | rgb(42, 91, 166) |
RGB Percent | 16.47, 35.69, 65.1 | rgb(16.47, 35.69, 65.1) |
CMYK | 75, 45, 0, 35 | |
HSL | 216.3°, 59.62, 40.8 | hsl(216.3, 59.62%, 40.8%) |
HSV | 216.3°, 74.7, 65.1 |
XYZ | 11.579, 10.728, 37.537 |
---|---|
Hunter Lab | 32.754, 5.784, -45.021 |
CIE-LAB | 39.119, 10.285, -45.205 |
CIE-LCH | 39.119, 46.36, 282.818 |
CIE-LUV | 74.7, 45.18, 0, 34.9 |
Web Safe | 336699 |
RGB percent of color #2a5ba6
CMYK percent of color #2a5ba6
Text with hexadecimal color #2a5ba6
This text has a font color of #2a5ba6
<p style="color:#2a5ba6">Text here</p>
#2a5ba6 Background Color
This box has a background color of #2a5ba6
<div style="background-color:#2a5ba6">Text here</div>
#2a5ba6 Border Color
This box has a border color of #2a5ba6
<div style="border: 4px solid #2a5ba6">Text here</div>
CSS codes
<p style="color:#2a5ba6">Text here</p>
<div style="background-color:#2a5ba6">Text here</div>
<div style="border: 4px solid #2a5ba6">Text here</div>
#2a5ba6 Color on white background
This is how a font and box color of #2a5ba6 will look
on a white background.
#2a5ba6 Color on black background
This is how a font and box color of #2a5ba6 hex color will look
on a black background.