In RGB color space, #2a5bab hex color has a red value of 42, a green value of 91 and a blue value of 171.
In CMYK color space (used in color printing), #2a5bab hex color is composed of 75.44% cyan, 46.78% magenta, 0% yellow and 32.94% black.
#2a5bab color has a hue of 217.2 degrees, a saturation of 60.56% and a lightness of 41.8%.
#2a5bab hex color contains mainly BLUE.
The closest web safe color of #2a5bab is #336699
#2a5bab hex color has a decimal value of 2775979.
HEX | 2a5bab | #2a5bab |
---|---|---|
RGB | 42, 91, 171 | rgb(42, 91, 171) |
RGB Percent | 16.47, 35.69, 67.06 | rgb(16.47, 35.69, 67.06) |
CMYK | 75, 47, 0, 33 | |
HSL | 217.2°, 60.56, 41.8 | hsl(217.2, 60.56%, 41.8%) |
HSV | 217.2°, 75.4, 67.1 |
XYZ | 12.047, 10.915, 40 |
---|---|
Hunter Lab | 33.038, 7.272, -48.658 |
CIE-LAB | 39.437, 12.208, -47.659 |
CIE-LCH | 39.437, 49.198, 284.368 |
CIE-LUV | 75.44, 46.78, 0, 32.94 |
Web Safe | 336699 |
RGB percent of color #2a5bab
CMYK percent of color #2a5bab
Text with hexadecimal color #2a5bab
This text has a font color of #2a5bab
<p style="color:#2a5bab">Text here</p>
#2a5bab Background Color
This box has a background color of #2a5bab
<div style="background-color:#2a5bab">Text here</div>
#2a5bab Border Color
This box has a border color of #2a5bab
<div style="border: 4px solid #2a5bab">Text here</div>
CSS codes
<p style="color:#2a5bab">Text here</p>
<div style="background-color:#2a5bab">Text here</div>
<div style="border: 4px solid #2a5bab">Text here</div>
#2a5bab Color on white background
This is how a font and box color of #2a5bab will look
on a white background.
#2a5bab Color on black background
This is how a font and box color of #2a5bab hex color will look
on a black background.