In RGB color space, #2a5fa5 hex color has a red value of 42, a green value of 95 and a blue value of 165.
In CMYK color space (used in color printing), #2a5fa5 hex color is composed of 74.55% cyan, 42.42% magenta, 0% yellow and 35.29% black.
#2a5fa5 color has a hue of 214.1 degrees, a saturation of 59.42% and a lightness of 40.6%.
#2a5fa5 hex color contains mainly BLUE.
The closest web safe color of #2a5fa5 is #336699
#2a5fa5 hex color has a decimal value of 2776997.
HEX | 2a5fa5 | #2a5fa5 |
---|---|---|
RGB | 42, 95, 165 | rgb(42, 95, 165) |
RGB Percent | 16.47, 37.25, 64.71 | rgb(16.47, 37.25, 64.71) |
CMYK | 75, 42, 0, 35 | |
HSL | 214.1°, 59.42, 40.6 | hsl(214.1, 59.42%, 40.6%) |
HSV | 214.1°, 74.5, 64.7 |
XYZ | 11.839, 11.393, 37.172 |
---|---|
Hunter Lab | 33.754, 3.54, -41.667 |
CIE-LAB | 40.235, 7.315, -42.825 |
CIE-LCH | 40.235, 43.445, 279.693 |
CIE-LUV | 74.55, 42.42, 0, 35.29 |
Web Safe | 336699 |
RGB percent of color #2a5fa5
CMYK percent of color #2a5fa5
Text with hexadecimal color #2a5fa5
This text has a font color of #2a5fa5
<p style="color:#2a5fa5">Text here</p>
#2a5fa5 Background Color
This box has a background color of #2a5fa5
<div style="background-color:#2a5fa5">Text here</div>
#2a5fa5 Border Color
This box has a border color of #2a5fa5
<div style="border: 4px solid #2a5fa5">Text here</div>
CSS codes
<p style="color:#2a5fa5">Text here</p>
<div style="background-color:#2a5fa5">Text here</div>
<div style="border: 4px solid #2a5fa5">Text here</div>
#2a5fa5 Color on white background
This is how a font and box color of #2a5fa5 will look
on a white background.
#2a5fa5 Color on black background
This is how a font and box color of #2a5fa5 hex color will look
on a black background.