In RGB color space, #2871cb hex color has a red value of 40, a green value of 113 and a blue value of 203.
In CMYK color space (used in color printing), #2871cb hex color is composed of 80.3% cyan, 44.33% magenta, 0% yellow and 20.39% black.
#2871cb color has a hue of 213.1 degrees, a saturation of 67.08% and a lightness of 47.6%.
#2871cb hex color contains mainly BLUE.
The closest web safe color of #2871cb is #3366cc
#2871cb hex color has a decimal value of 2650571.
HEX | 2871cb | #2871cb |
---|---|---|
RGB | 40, 113, 203 | rgb(40, 113, 203) |
RGB Percent | 15.69, 44.31, 79.61 | rgb(15.69, 44.31, 79.61) |
CMYK | 80, 44, 0, 20 | |
HSL | 213.1°, 67.08, 47.6 | hsl(213.1, 67.08%, 47.6%) |
HSV | 213.1°, 80.3, 79.6 |
XYZ | 17.56, 16.573, 58.773 |
---|---|
Hunter Lab | 40.71, 5.753, -57.1 |
CIE-LAB | 47.717, 10.129, -52.985 |
CIE-LCH | 47.717, 53.944, 280.823 |
CIE-LUV | 80.3, 44.33, 0, 20.39 |
Web Safe | 3366cc |
RGB percent of color #2871cb
CMYK percent of color #2871cb
Text with hexadecimal color #2871cb
This text has a font color of #2871cb
<p style="color:#2871cb">Text here</p>
#2871cb Background Color
This box has a background color of #2871cb
<div style="background-color:#2871cb">Text here</div>
#2871cb Border Color
This box has a border color of #2871cb
<div style="border: 4px solid #2871cb">Text here</div>
CSS codes
<p style="color:#2871cb">Text here</p>
<div style="background-color:#2871cb">Text here</div>
<div style="border: 4px solid #2871cb">Text here</div>
#2871cb Color on white background
This is how a font and box color of #2871cb will look
on a white background.
#2871cb Color on black background
This is how a font and box color of #2871cb hex color will look
on a black background.