In RGB color space, #2f5797 hex color has a red value of 47, a green value of 87 and a blue value of 151.
In CMYK color space (used in color printing), #2f5797 hex color is composed of 68.87% cyan, 42.38% magenta, 0% yellow and 40.78% black.
#2f5797 color has a hue of 216.9 degrees, a saturation of 52.53% and a lightness of 38.8%.
#2f5797 hex color contains mainly BLUE.
The closest web safe color of #2f5797 is #336699
#2f5797 hex color has a decimal value of 3102615.
HEX | 2f5797 | #2f5797 |
---|---|---|
RGB | 47, 87, 151 | rgb(47, 87, 151) |
RGB Percent | 18.43, 34.12, 59.22 | rgb(18.43, 34.12, 59.22) |
CMYK | 69, 42, 0, 41 | |
HSL | 216.9°, 52.53, 38.8 | hsl(216.9, 52.53%, 38.8%) |
HSV | 216.9°, 68.9, 59.2 |
XYZ | 10.166, 9.655, 30.606 |
---|---|
Hunter Lab | 31.072, 4.023, -36.649 |
CIE-LAB | 37.216, 7.962, -39.261 |
CIE-LCH | 37.216, 40.06, 281.464 |
CIE-LUV | 68.87, 42.38, 0, 40.78 |
Web Safe | 336699 |
RGB percent of color #2f5797
CMYK percent of color #2f5797
Text with hexadecimal color #2f5797
This text has a font color of #2f5797
<p style="color:#2f5797">Text here</p>
#2f5797 Background Color
This box has a background color of #2f5797
<div style="background-color:#2f5797">Text here</div>
#2f5797 Border Color
This box has a border color of #2f5797
<div style="border: 4px solid #2f5797">Text here</div>
CSS codes
<p style="color:#2f5797">Text here</p>
<div style="background-color:#2f5797">Text here</div>
<div style="border: 4px solid #2f5797">Text here</div>
#2f5797 Color on white background
This is how a font and box color of #2f5797 will look
on a white background.
#2f5797 Color on black background
This is how a font and box color of #2f5797 hex color will look
on a black background.