In RGB color space, #2871a3 hex color has a red value of 40, a green value of 113 and a blue value of 163.
In CMYK color space (used in color printing), #2871a3 hex color is composed of 75.46% cyan, 30.67% magenta, 0% yellow and 36.08% black.
#2871a3 color has a hue of 204.4 degrees, a saturation of 60.59% and a lightness of 39.8%.
#2871a3 hex color contains mainly BLUE.
The closest web safe color of #2871a3 is #336699
#2871a3 hex color has a decimal value of 2650531.
HEX | 2871a3 | #2871a3 |
---|---|---|
RGB | 40, 113, 163 | rgb(40, 113, 163) |
RGB Percent | 15.69, 44.31, 63.92 | rgb(15.69, 44.31, 63.92) |
CMYK | 75, 31, 0, 36 | |
HSL | 204.4°, 60.59, 39.8 | hsl(204.4, 60.59%, 39.8%) |
HSV | 204.4°, 75.5, 63.9 |
XYZ | 13.391, 14.906, 36.822 |
---|---|
Hunter Lab | 38.608, -5.653, -29.521 |
CIE-LAB | 45.505, -4.936, -33.298 |
CIE-LCH | 45.505, 33.662, 261.568 |
CIE-LUV | 75.46, 30.67, 0, 36.08 |
Web Safe | 336699 |
RGB percent of color #2871a3
CMYK percent of color #2871a3
Text with hexadecimal color #2871a3
This text has a font color of #2871a3
<p style="color:#2871a3">Text here</p>
#2871a3 Background Color
This box has a background color of #2871a3
<div style="background-color:#2871a3">Text here</div>
#2871a3 Border Color
This box has a border color of #2871a3
<div style="border: 4px solid #2871a3">Text here</div>
CSS codes
<p style="color:#2871a3">Text here</p>
<div style="background-color:#2871a3">Text here</div>
<div style="border: 4px solid #2871a3">Text here</div>
#2871a3 Color on white background
This is how a font and box color of #2871a3 will look
on a white background.
#2871a3 Color on black background
This is how a font and box color of #2871a3 hex color will look
on a black background.