In RGB color space, #2f7fa8 hex color has a red value of 47, a green value of 127 and a blue value of 168.
In CMYK color space (used in color printing), #2f7fa8 hex color is composed of 72.02% cyan, 24.4% magenta, 0% yellow and 34.12% black.
#2f7fa8 color has a hue of 200.3 degrees, a saturation of 56.28% and a lightness of 42.2%.
#2f7fa8 hex color contains mainly BLUE.
The closest web safe color of #2f7fa8 is #336699
#2f7fa8 hex color has a decimal value of 3112872.
HEX | 2f7fa8 | #2f7fa8 |
---|---|---|
RGB | 47, 127, 168 | rgb(47, 127, 168) |
RGB Percent | 18.43, 49.8, 65.88 | rgb(18.43, 49.8, 65.88) |
CMYK | 72, 24, 0, 34 | |
HSL | 200.3°, 56.28, 42.2 | hsl(200.3, 56.28%, 42.2%) |
HSV | 200.3°, 72, 65.9 |
XYZ | 15.83, 18.61, 39.804 |
---|---|
Hunter Lab | 43.139, -9.993, -24.508 |
CIE-LAB | 50.228, -10.369, -28.82 |
CIE-LCH | 50.228, 30.629, 250.212 |
CIE-LUV | 72.02, 24.4, 0, 34.12 |
Web Safe | 336699 |
RGB percent of color #2f7fa8
CMYK percent of color #2f7fa8
Text with hexadecimal color #2f7fa8
This text has a font color of #2f7fa8
<p style="color:#2f7fa8">Text here</p>
#2f7fa8 Background Color
This box has a background color of #2f7fa8
<div style="background-color:#2f7fa8">Text here</div>
#2f7fa8 Border Color
This box has a border color of #2f7fa8
<div style="border: 4px solid #2f7fa8">Text here</div>
CSS codes
<p style="color:#2f7fa8">Text here</p>
<div style="background-color:#2f7fa8">Text here</div>
<div style="border: 4px solid #2f7fa8">Text here</div>
#2f7fa8 Color on white background
This is how a font and box color of #2f7fa8 will look
on a white background.
#2f7fa8 Color on black background
This is how a font and box color of #2f7fa8 hex color will look
on a black background.