In RGB color space, #2874f6 hex color has a red value of 40, a green value of 116 and a blue value of 246.
In CMYK color space (used in color printing), #2874f6 hex color is composed of 83.74% cyan, 52.85% magenta, 0% yellow and 3.53% black.
#2874f6 color has a hue of 217.9 degrees, a saturation of 91.96% and a lightness of 56.1%.
#2874f6 hex color contains mainly BLUE.
The closest web safe color of #2874f6 is #3366ff
#2874f6 hex color has a decimal value of 2651382.
HEX | 2874f6 | #2874f6 |
---|---|---|
RGB | 40, 116, 246 | rgb(40, 116, 246) |
RGB Percent | 15.69, 45.49, 96.47 | rgb(15.69, 45.49, 96.47) |
CMYK | 84, 53, 0, 4 | |
HSL | 217.9°, 91.96, 56.1 | hsl(217.9, 91.96%, 56.1%) |
HSV | 217.9°, 83.7, 96.5 |
XYZ | 23.755, 19.596, 89.719 |
---|---|
Hunter Lab | 44.267, 18.32, -89.179 |
CIE-LAB | 51.377, 24.531, -71.334 |
CIE-LCH | 51.377, 75.434, 288.978 |
CIE-LUV | 83.74, 52.85, 0, 3.53 |
Web Safe | 3366ff |
RGB percent of color #2874f6
CMYK percent of color #2874f6
Text with hexadecimal color #2874f6
This text has a font color of #2874f6
<p style="color:#2874f6">Text here</p>
#2874f6 Background Color
This box has a background color of #2874f6
<div style="background-color:#2874f6">Text here</div>
#2874f6 Border Color
This box has a border color of #2874f6
<div style="border: 4px solid #2874f6">Text here</div>
CSS codes
<p style="color:#2874f6">Text here</p>
<div style="background-color:#2874f6">Text here</div>
<div style="border: 4px solid #2874f6">Text here</div>
#2874f6 Color on white background
This is how a font and box color of #2874f6 will look
on a white background.
#2874f6 Color on black background
This is how a font and box color of #2874f6 hex color will look
on a black background.