In RGB color space, #2a5f7e hex color has a red value of 42, a green value of 95 and a blue value of 126.
In CMYK color space (used in color printing), #2a5f7e hex color is composed of 66.67% cyan, 24.6% magenta, 0% yellow and 50.59% black.
#2a5f7e color has a hue of 202.1 degrees, a saturation of 50% and a lightness of 32.9%.
#2a5f7e hex color contains mainly BLUE.
The closest web safe color of #2a5f7e is #336666
#2a5f7e hex color has a decimal value of 2776958.
HEX | 2a5f7e | #2a5f7e |
---|---|---|
RGB | 42, 95, 126 | rgb(42, 95, 126) |
RGB Percent | 16.47, 37.25, 49.41 | rgb(16.47, 37.25, 49.41) |
CMYK | 67, 25, 0, 51 | |
HSL | 202.1°, 50, 32.9 | hsl(202.1, 50%, 32.9%) |
HSV | 202.1°, 66.7, 49.4 |
XYZ | 8.813, 10.183, 21.24 |
---|---|
Hunter Lab | 31.911, -6.547, -17.126 |
CIE-LAB | 38.169, -7.179, -22.597 |
CIE-LCH | 38.169, 23.71, 252.375 |
CIE-LUV | 66.67, 24.6, 0, 50.59 |
Web Safe | 336666 |
RGB percent of color #2a5f7e
CMYK percent of color #2a5f7e
Text with hexadecimal color #2a5f7e
This text has a font color of #2a5f7e
<p style="color:#2a5f7e">Text here</p>
#2a5f7e Background Color
This box has a background color of #2a5f7e
<div style="background-color:#2a5f7e">Text here</div>
#2a5f7e Border Color
This box has a border color of #2a5f7e
<div style="border: 4px solid #2a5f7e">Text here</div>
CSS codes
<p style="color:#2a5f7e">Text here</p>
<div style="background-color:#2a5f7e">Text here</div>
<div style="border: 4px solid #2a5f7e">Text here</div>
#2a5f7e Color on white background
This is how a font and box color of #2a5f7e will look
on a white background.
#2a5f7e Color on black background
This is how a font and box color of #2a5f7e hex color will look
on a black background.