In RGB color space, #2a7fa2 hex color has a red value of 42, a green value of 127 and a blue value of 162.
In CMYK color space (used in color printing), #2a7fa2 hex color is composed of 74.07% cyan, 21.6% magenta, 0% yellow and 36.47% black.
#2a7fa2 color has a hue of 197.5 degrees, a saturation of 58.82% and a lightness of 40%.
#2a7fa2 hex color contains mainly BLUE.
The closest web safe color of #2a7fa2 is #336699
#2a7fa2 hex color has a decimal value of 2785186.
HEX | 2a7fa2 | #2a7fa2 |
---|---|---|
RGB | 42, 127, 162 | rgb(42, 127, 162) |
RGB Percent | 16.47, 49.8, 63.53 | rgb(16.47, 49.8, 63.53) |
CMYK | 74, 22, 0, 36 | |
HSL | 197.5°, 58.82, 40 | hsl(197.5, 58.82%, 40%) |
HSV | 197.5°, 74.1, 63.5 |
XYZ | 15.066, 18.28, 36.917 |
---|---|
Hunter Lab | 42.755, -11.922, -21.265 |
CIE-LAB | 49.834, -13.17, -25.954 |
CIE-LCH | 49.834, 29.104, 243.095 |
CIE-LUV | 74.07, 21.6, 0, 36.47 |
Web Safe | 336699 |
RGB percent of color #2a7fa2
CMYK percent of color #2a7fa2
Text with hexadecimal color #2a7fa2
This text has a font color of #2a7fa2
<p style="color:#2a7fa2">Text here</p>
#2a7fa2 Background Color
This box has a background color of #2a7fa2
<div style="background-color:#2a7fa2">Text here</div>
#2a7fa2 Border Color
This box has a border color of #2a7fa2
<div style="border: 4px solid #2a7fa2">Text here</div>
CSS codes
<p style="color:#2a7fa2">Text here</p>
<div style="background-color:#2a7fa2">Text here</div>
<div style="border: 4px solid #2a7fa2">Text here</div>
#2a7fa2 Color on white background
This is how a font and box color of #2a7fa2 will look
on a white background.
#2a7fa2 Color on black background
This is how a font and box color of #2a7fa2 hex color will look
on a black background.