In RGB color space, #2871c1 hex color has a red value of 40, a green value of 113 and a blue value of 193.
In CMYK color space (used in color printing), #2871c1 hex color is composed of 79.27% cyan, 41.45% magenta, 0% yellow and 24.31% black.
#2871c1 color has a hue of 211.4 degrees, a saturation of 65.67% and a lightness of 45.7%.
#2871c1 hex color contains mainly BLUE.
The closest web safe color of #2871c1 is #3366cc
#2871c1 hex color has a decimal value of 2650561.
HEX | 2871c1 | #2871c1 |
---|---|---|
RGB | 40, 113, 193 | rgb(40, 113, 193) |
RGB Percent | 15.69, 44.31, 75.69 | rgb(15.69, 44.31, 75.69) |
CMYK | 79, 41, 0, 24 | |
HSL | 211.4°, 65.67, 45.7 | hsl(211.4, 65.67%, 45.7%) |
HSV | 211.4°, 79.3, 75.7 |
XYZ | 16.406, 16.112, 52.697 |
---|---|
Hunter Lab | 40.14, 2.712, -49.74 |
CIE-LAB | 47.121, 6.319, -48.197 |
CIE-LCH | 47.121, 48.609, 277.469 |
CIE-LUV | 79.27, 41.45, 0, 24.31 |
Web Safe | 3366cc |
RGB percent of color #2871c1
CMYK percent of color #2871c1
Text with hexadecimal color #2871c1
This text has a font color of #2871c1
<p style="color:#2871c1">Text here</p>
#2871c1 Background Color
This box has a background color of #2871c1
<div style="background-color:#2871c1">Text here</div>
#2871c1 Border Color
This box has a border color of #2871c1
<div style="border: 4px solid #2871c1">Text here</div>
CSS codes
<p style="color:#2871c1">Text here</p>
<div style="background-color:#2871c1">Text here</div>
<div style="border: 4px solid #2871c1">Text here</div>
#2871c1 Color on white background
This is how a font and box color of #2871c1 will look
on a white background.
#2871c1 Color on black background
This is how a font and box color of #2871c1 hex color will look
on a black background.