In RGB color space, #2871c4 hex color has a red value of 40, a green value of 113 and a blue value of 196.
In CMYK color space (used in color printing), #2871c4 hex color is composed of 79.59% cyan, 42.35% magenta, 0% yellow and 23.14% black.
#2871c4 color has a hue of 211.9 degrees, a saturation of 66.1% and a lightness of 46.3%.
#2871c4 hex color contains mainly BLUE.
The closest web safe color of #2871c4 is #3366cc
#2871c4 hex color has a decimal value of 2650564.
HEX | 2871c4 | #2871c4 |
---|---|---|
RGB | 40, 113, 196 | rgb(40, 113, 196) |
RGB Percent | 15.69, 44.31, 76.86 | rgb(15.69, 44.31, 76.86) |
CMYK | 80, 42, 0, 23 | |
HSL | 211.9°, 66.1, 46.3 | hsl(211.9, 66.1%, 46.3%) |
HSV | 211.9°, 79.6, 76.9 |
XYZ | 16.744, 16.247, 54.478 |
---|---|
Hunter Lab | 40.308, 3.612, -51.919 |
CIE-LAB | 47.297, 7.46, -49.643 |
CIE-LCH | 47.297, 50.2, 278.546 |
CIE-LUV | 79.59, 42.35, 0, 23.14 |
Web Safe | 3366cc |
RGB percent of color #2871c4
CMYK percent of color #2871c4
Text with hexadecimal color #2871c4
This text has a font color of #2871c4
<p style="color:#2871c4">Text here</p>
#2871c4 Background Color
This box has a background color of #2871c4
<div style="background-color:#2871c4">Text here</div>
#2871c4 Border Color
This box has a border color of #2871c4
<div style="border: 4px solid #2871c4">Text here</div>
CSS codes
<p style="color:#2871c4">Text here</p>
<div style="background-color:#2871c4">Text here</div>
<div style="border: 4px solid #2871c4">Text here</div>
#2871c4 Color on white background
This is how a font and box color of #2871c4 will look
on a white background.
#2871c4 Color on black background
This is how a font and box color of #2871c4 hex color will look
on a black background.