In RGB color space, #2a7fa5 hex color has a red value of 42, a green value of 127 and a blue value of 165.
In CMYK color space (used in color printing), #2a7fa5 hex color is composed of 74.55% cyan, 23.03% magenta, 0% yellow and 35.29% black.
#2a7fa5 color has a hue of 198.5 degrees, a saturation of 59.42% and a lightness of 40.6%.
#2a7fa5 hex color contains mainly BLUE.
The closest web safe color of #2a7fa5 is #336699
#2a7fa5 hex color has a decimal value of 2785189.
HEX | 2a7fa5 | #2a7fa5 |
---|---|---|
RGB | 42, 127, 165 | rgb(42, 127, 165) |
RGB Percent | 16.47, 49.8, 64.71 | rgb(16.47, 49.8, 64.71) |
CMYK | 75, 23, 0, 35 | |
HSL | 198.5°, 59.42, 40.6 | hsl(198.5, 59.42%, 40.6%) |
HSV | 198.5°, 74.5, 64.7 |
XYZ | 15.336, 18.388, 38.338 |
---|---|
Hunter Lab | 42.881, -11.204, -22.991 |
CIE-LAB | 49.963, -12.121, -27.498 |
CIE-LCH | 49.963, 30.051, 246.212 |
CIE-LUV | 74.55, 23.03, 0, 35.29 |
Web Safe | 336699 |
RGB percent of color #2a7fa5
CMYK percent of color #2a7fa5
Text with hexadecimal color #2a7fa5
This text has a font color of #2a7fa5
<p style="color:#2a7fa5">Text here</p>
#2a7fa5 Background Color
This box has a background color of #2a7fa5
<div style="background-color:#2a7fa5">Text here</div>
#2a7fa5 Border Color
This box has a border color of #2a7fa5
<div style="border: 4px solid #2a7fa5">Text here</div>
CSS codes
<p style="color:#2a7fa5">Text here</p>
<div style="background-color:#2a7fa5">Text here</div>
<div style="border: 4px solid #2a7fa5">Text here</div>
#2a7fa5 Color on white background
This is how a font and box color of #2a7fa5 will look
on a white background.
#2a7fa5 Color on black background
This is how a font and box color of #2a7fa5 hex color will look
on a black background.