In RGB color space, #2871a5 hex color has a red value of 40, a green value of 113 and a blue value of 165.
In CMYK color space (used in color printing), #2871a5 hex color is composed of 75.76% cyan, 31.52% magenta, 0% yellow and 35.29% black.
#2871a5 color has a hue of 205 degrees, a saturation of 60.98% and a lightness of 40.2%.
#2871a5 hex color contains mainly BLUE.
The closest web safe color of #2871a5 is #336699
#2871a5 hex color has a decimal value of 2650533.
HEX | 2871a5 | #2871a5 |
---|---|---|
RGB | 40, 113, 165 | rgb(40, 113, 165) |
RGB Percent | 15.69, 44.31, 64.71 | rgb(15.69, 44.31, 64.71) |
CMYK | 76, 32, 0, 35 | |
HSL | 205°, 60.98, 40.2 | hsl(205, 60.98%, 40.2%) |
HSV | 205°, 75.8, 64.7 |
XYZ | 13.572, 14.978, 37.773 |
---|---|
Hunter Lab | 38.701, -5.13, -30.777 |
CIE-LAB | 45.604, -4.195, -34.317 |
CIE-LCH | 45.604, 34.572, 263.031 |
CIE-LUV | 75.76, 31.52, 0, 35.29 |
Web Safe | 336699 |
RGB percent of color #2871a5
CMYK percent of color #2871a5
Text with hexadecimal color #2871a5
This text has a font color of #2871a5
<p style="color:#2871a5">Text here</p>
#2871a5 Background Color
This box has a background color of #2871a5
<div style="background-color:#2871a5">Text here</div>
#2871a5 Border Color
This box has a border color of #2871a5
<div style="border: 4px solid #2871a5">Text here</div>
CSS codes
<p style="color:#2871a5">Text here</p>
<div style="background-color:#2871a5">Text here</div>
<div style="border: 4px solid #2871a5">Text here</div>
#2871a5 Color on white background
This is how a font and box color of #2871a5 will look
on a white background.
#2871a5 Color on black background
This is how a font and box color of #2871a5 hex color will look
on a black background.