In RGB color space, #2871a1 hex color has a red value of 40, a green value of 113 and a blue value of 161.
In CMYK color space (used in color printing), #2871a1 hex color is composed of 75.16% cyan, 29.81% magenta, 0% yellow and 36.86% black.
#2871a1 color has a hue of 203.8 degrees, a saturation of 60.2% and a lightness of 39.4%.
#2871a1 hex color contains mainly BLUE.
The closest web safe color of #2871a1 is #336699
#2871a1 hex color has a decimal value of 2650529.
HEX | 2871a1 | #2871a1 |
---|---|---|
RGB | 40, 113, 161 | rgb(40, 113, 161) |
RGB Percent | 15.69, 44.31, 63.14 | rgb(15.69, 44.31, 63.14) |
CMYK | 75, 30, 0, 37 | |
HSL | 203.8°, 60.2, 39.4 | hsl(203.8, 60.2%, 39.4%) |
HSV | 203.8°, 75.2, 63.1 |
XYZ | 13.213, 14.835, 35.885 |
---|---|
Hunter Lab | 38.516, -6.169, -28.278 |
CIE-LAB | 45.407, -5.672, -32.274 |
CIE-LCH | 45.407, 32.769, 260.032 |
CIE-LUV | 75.16, 29.81, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #2871a1
CMYK percent of color #2871a1
Text with hexadecimal color #2871a1
This text has a font color of #2871a1
<p style="color:#2871a1">Text here</p>
#2871a1 Background Color
This box has a background color of #2871a1
<div style="background-color:#2871a1">Text here</div>
#2871a1 Border Color
This box has a border color of #2871a1
<div style="border: 4px solid #2871a1">Text here</div>
CSS codes
<p style="color:#2871a1">Text here</p>
<div style="background-color:#2871a1">Text here</div>
<div style="border: 4px solid #2871a1">Text here</div>
#2871a1 Color on white background
This is how a font and box color of #2871a1 will look
on a white background.
#2871a1 Color on black background
This is how a font and box color of #2871a1 hex color will look
on a black background.