In RGB color space, #2871a6 hex color has a red value of 40, a green value of 113 and a blue value of 166.
In CMYK color space (used in color printing), #2871a6 hex color is composed of 75.9% cyan, 31.93% magenta, 0% yellow and 34.9% black.
#2871a6 color has a hue of 205.2 degrees, a saturation of 61.17% and a lightness of 40.4%.
#2871a6 hex color contains mainly BLUE.
The closest web safe color of #2871a6 is #336699
#2871a6 hex color has a decimal value of 2650534.
HEX | 2871a6 | #2871a6 |
---|---|---|
RGB | 40, 113, 166 | rgb(40, 113, 166) |
RGB Percent | 15.69, 44.31, 65.1 | rgb(15.69, 44.31, 65.1) |
CMYK | 76, 32, 0, 35 | |
HSL | 205.2°, 61.17, 40.4 | hsl(205.2, 61.17%, 40.4%) |
HSV | 205.2°, 75.9, 65.1 |
XYZ | 13.663, 15.015, 38.254 |
---|---|
Hunter Lab | 38.749, -4.872, -31.408 |
CIE-LAB | 45.655, -3.831, -34.823 |
CIE-LCH | 45.655, 35.033, 263.722 |
CIE-LUV | 75.9, 31.93, 0, 34.9 |
Web Safe | 336699 |
RGB percent of color #2871a6
CMYK percent of color #2871a6
Text with hexadecimal color #2871a6
This text has a font color of #2871a6
<p style="color:#2871a6">Text here</p>
#2871a6 Background Color
This box has a background color of #2871a6
<div style="background-color:#2871a6">Text here</div>
#2871a6 Border Color
This box has a border color of #2871a6
<div style="border: 4px solid #2871a6">Text here</div>
CSS codes
<p style="color:#2871a6">Text here</p>
<div style="background-color:#2871a6">Text here</div>
<div style="border: 4px solid #2871a6">Text here</div>
#2871a6 Color on white background
This is how a font and box color of #2871a6 will look
on a white background.
#2871a6 Color on black background
This is how a font and box color of #2871a6 hex color will look
on a black background.