In RGB color space, #2874a7 hex color has a red value of 40, a green value of 116 and a blue value of 167.
In CMYK color space (used in color printing), #2874a7 hex color is composed of 76.05% cyan, 30.54% magenta, 0% yellow and 34.51% black.
#2874a7 color has a hue of 204.1 degrees, a saturation of 61.35% and a lightness of 40.6%.
#2874a7 hex color contains mainly BLUE.
The closest web safe color of #2874a7 is #336699
#2874a7 hex color has a decimal value of 2651303.
HEX | 2874a7 | #2874a7 |
---|---|---|
RGB | 40, 116, 167 | rgb(40, 116, 167) |
RGB Percent | 15.69, 45.49, 65.49 | rgb(15.69, 45.49, 65.49) |
CMYK | 76, 31, 0, 35 | |
HSL | 204.1°, 61.35, 40.6 | hsl(204.1, 61.35%, 40.6%) |
HSV | 204.1°, 76, 65.5 |
XYZ | 14.096, 15.732, 38.853 |
---|---|
Hunter Lab | 39.664, -5.974, -30.314 |
CIE-LAB | 46.621, -5.257, -33.89 |
CIE-LCH | 46.621, 34.295, 261.183 |
CIE-LUV | 76.05, 30.54, 0, 34.51 |
Web Safe | 336699 |
RGB percent of color #2874a7
CMYK percent of color #2874a7
Text with hexadecimal color #2874a7
This text has a font color of #2874a7
<p style="color:#2874a7">Text here</p>
#2874a7 Background Color
This box has a background color of #2874a7
<div style="background-color:#2874a7">Text here</div>
#2874a7 Border Color
This box has a border color of #2874a7
<div style="border: 4px solid #2874a7">Text here</div>
CSS codes
<p style="color:#2874a7">Text here</p>
<div style="background-color:#2874a7">Text here</div>
<div style="border: 4px solid #2874a7">Text here</div>
#2874a7 Color on white background
This is how a font and box color of #2874a7 will look
on a white background.
#2874a7 Color on black background
This is how a font and box color of #2874a7 hex color will look
on a black background.