In RGB color space, #2a5b8c hex color has a red value of 42, a green value of 91 and a blue value of 140.
In CMYK color space (used in color printing), #2a5b8c hex color is composed of 70% cyan, 35% magenta, 0% yellow and 45.1% black.
#2a5b8c color has a hue of 210 degrees, a saturation of 53.85% and a lightness of 35.7%.
#2a5b8c hex color contains mainly BLUE.
The closest web safe color of #2a5b8c is #336699
#2a5b8c hex color has a decimal value of 2775948.
HEX | 2a5b8c | #2a5b8c |
---|---|---|
RGB | 42, 91, 140 | rgb(42, 91, 140) |
RGB Percent | 16.47, 35.69, 54.9 | rgb(16.47, 35.69, 54.9) |
CMYK | 70, 35, 0, 45 | |
HSL | 210°, 53.85, 35.7 | hsl(210, 53.85%, 35.7%) |
HSV | 210°, 70, 54.9 |
XYZ | 9.43, 9.868, 26.219 |
---|---|
Hunter Lab | 31.413, -1.389, -27.497 |
CIE-LAB | 37.604, 0.416, -32.006 |
CIE-LCH | 37.604, 32.009, 270.745 |
CIE-LUV | 70, 35, 0, 45.1 |
Web Safe | 336699 |
RGB percent of color #2a5b8c
CMYK percent of color #2a5b8c
Text with hexadecimal color #2a5b8c
This text has a font color of #2a5b8c
<p style="color:#2a5b8c">Text here</p>
#2a5b8c Background Color
This box has a background color of #2a5b8c
<div style="background-color:#2a5b8c">Text here</div>
#2a5b8c Border Color
This box has a border color of #2a5b8c
<div style="border: 4px solid #2a5b8c">Text here</div>
CSS codes
<p style="color:#2a5b8c">Text here</p>
<div style="background-color:#2a5b8c">Text here</div>
<div style="border: 4px solid #2a5b8c">Text here</div>
#2a5b8c Color on white background
This is how a font and box color of #2a5b8c will look
on a white background.
#2a5b8c Color on black background
This is how a font and box color of #2a5b8c hex color will look
on a black background.