In RGB color space, #2871a0 hex color has a red value of 40, a green value of 113 and a blue value of 160.
In CMYK color space (used in color printing), #2871a0 hex color is composed of 75% cyan, 29.38% magenta, 0% yellow and 37.25% black.
#2871a0 color has a hue of 203.5 degrees, a saturation of 60% and a lightness of 39.2%.
#2871a0 hex color contains mainly BLUE.
The closest web safe color of #2871a0 is #336699
#2871a0 hex color has a decimal value of 2650528.
HEX | 2871a0 | #2871a0 |
---|---|---|
RGB | 40, 113, 160 | rgb(40, 113, 160) |
RGB Percent | 15.69, 44.31, 62.75 | rgb(15.69, 44.31, 62.75) |
CMYK | 75, 29, 0, 37 | |
HSL | 203.5°, 60, 39.2 | hsl(203.5, 60%, 39.2%) |
HSV | 203.5°, 75, 62.7 |
XYZ | 13.125, 14.799, 35.423 |
---|---|
Hunter Lab | 38.469, -6.421, -27.666 |
CIE-LAB | 45.358, -6.034, -31.764 |
CIE-LCH | 45.358, 32.332, 259.244 |
CIE-LUV | 75, 29.38, 0, 37.25 |
Web Safe | 336699 |
RGB percent of color #2871a0
CMYK percent of color #2871a0
Text with hexadecimal color #2871a0
This text has a font color of #2871a0
<p style="color:#2871a0">Text here</p>
#2871a0 Background Color
This box has a background color of #2871a0
<div style="background-color:#2871a0">Text here</div>
#2871a0 Border Color
This box has a border color of #2871a0
<div style="border: 4px solid #2871a0">Text here</div>
CSS codes
<p style="color:#2871a0">Text here</p>
<div style="background-color:#2871a0">Text here</div>
<div style="border: 4px solid #2871a0">Text here</div>
#2871a0 Color on white background
This is how a font and box color of #2871a0 will look
on a white background.
#2871a0 Color on black background
This is how a font and box color of #2871a0 hex color will look
on a black background.