In RGB color space, #2a7fa1 hex color has a red value of 42, a green value of 127 and a blue value of 161.
In CMYK color space (used in color printing), #2a7fa1 hex color is composed of 73.91% cyan, 21.12% magenta, 0% yellow and 36.86% black.
#2a7fa1 color has a hue of 197.1 degrees, a saturation of 58.62% and a lightness of 39.8%.
#2a7fa1 hex color contains mainly BLUE.
The closest web safe color of #2a7fa1 is #336699
#2a7fa1 hex color has a decimal value of 2785185.
HEX | 2a7fa1 | #2a7fa1 |
---|---|---|
RGB | 42, 127, 161 | rgb(42, 127, 161) |
RGB Percent | 16.47, 49.8, 63.14 | rgb(16.47, 49.8, 63.14) |
CMYK | 74, 21, 0, 37 | |
HSL | 197.1°, 58.62, 39.8 | hsl(197.1, 58.62%, 39.8%) |
HSV | 197.1°, 73.9, 63.1 |
XYZ | 14.977, 18.244, 36.45 |
---|---|
Hunter Lab | 42.713, -12.158, -20.697 |
CIE-LAB | 49.791, -13.517, -25.438 |
CIE-LCH | 49.791, 28.806, 242.015 |
CIE-LUV | 73.91, 21.12, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #2a7fa1
CMYK percent of color #2a7fa1
Text with hexadecimal color #2a7fa1
This text has a font color of #2a7fa1
<p style="color:#2a7fa1">Text here</p>
#2a7fa1 Background Color
This box has a background color of #2a7fa1
<div style="background-color:#2a7fa1">Text here</div>
#2a7fa1 Border Color
This box has a border color of #2a7fa1
<div style="border: 4px solid #2a7fa1">Text here</div>
CSS codes
<p style="color:#2a7fa1">Text here</p>
<div style="background-color:#2a7fa1">Text here</div>
<div style="border: 4px solid #2a7fa1">Text here</div>
#2a7fa1 Color on white background
This is how a font and box color of #2a7fa1 will look
on a white background.
#2a7fa1 Color on black background
This is how a font and box color of #2a7fa1 hex color will look
on a black background.