In RGB color space, #2a5b8b hex color has a red value of 42, a green value of 91 and a blue value of 139.
In CMYK color space (used in color printing), #2a5b8b hex color is composed of 69.78% cyan, 34.53% magenta, 0% yellow and 45.49% black.
#2a5b8b color has a hue of 209.7 degrees, a saturation of 53.59% and a lightness of 35.5%.
#2a5b8b hex color contains mainly BLUE.
The closest web safe color of #2a5b8b is #336699
#2a5b8b hex color has a decimal value of 2775947.
HEX | 2a5b8b | #2a5b8b |
---|---|---|
RGB | 42, 91, 139 | rgb(42, 91, 139) |
RGB Percent | 16.47, 35.69, 54.51 | rgb(16.47, 35.69, 54.51) |
CMYK | 70, 35, 0, 45 | |
HSL | 209.7°, 53.59, 35.5 | hsl(209.7, 53.59%, 35.5%) |
HSV | 209.7°, 69.8, 54.5 |
XYZ | 9.356, 9.838, 25.832 |
---|---|
Hunter Lab | 31.366, -1.645, -26.874 |
CIE-LAB | 37.55, 0.043, -31.484 |
CIE-LCH | 37.55, 31.484, 270.078 |
CIE-LUV | 69.78, 34.53, 0, 45.49 |
Web Safe | 336699 |
RGB percent of color #2a5b8b
CMYK percent of color #2a5b8b
Text with hexadecimal color #2a5b8b
This text has a font color of #2a5b8b
<p style="color:#2a5b8b">Text here</p>
#2a5b8b Background Color
This box has a background color of #2a5b8b
<div style="background-color:#2a5b8b">Text here</div>
#2a5b8b Border Color
This box has a border color of #2a5b8b
<div style="border: 4px solid #2a5b8b">Text here</div>
CSS codes
<p style="color:#2a5b8b">Text here</p>
<div style="background-color:#2a5b8b">Text here</div>
<div style="border: 4px solid #2a5b8b">Text here</div>
#2a5b8b Color on white background
This is how a font and box color of #2a5b8b will look
on a white background.
#2a5b8b Color on black background
This is how a font and box color of #2a5b8b hex color will look
on a black background.