In RGB color space, #2870af hex color has a red value of 40, a green value of 112 and a blue value of 175.
In CMYK color space (used in color printing), #2870af hex color is composed of 77.14% cyan, 36% magenta, 0% yellow and 31.37% black.
#2870af color has a hue of 208 degrees, a saturation of 62.79% and a lightness of 42.2%.
#2870af hex color contains mainly BLUE.
The closest web safe color of #2870af is #336699
#2870af hex color has a decimal value of 2650287.
HEX | 2870af | #2870af |
---|---|---|
RGB | 40, 112, 175 | rgb(40, 112, 175) |
RGB Percent | 15.69, 43.92, 68.63 | rgb(15.69, 43.92, 68.63) |
CMYK | 77, 36, 0, 31 | |
HSL | 208°, 62.79, 42.2 | hsl(208, 62.79%, 42.2%) |
HSV | 208°, 77.1, 68.6 |
XYZ | 14.407, 15.135, 42.719 |
---|---|
Hunter Lab | 38.904, -1.979, -37.872 |
CIE-LAB | 45.819, 0.134, -39.831 |
CIE-LCH | 45.819, 39.831, 270.193 |
CIE-LUV | 77.14, 36, 0, 31.37 |
Web Safe | 336699 |
RGB percent of color #2870af
CMYK percent of color #2870af
Text with hexadecimal color #2870af
This text has a font color of #2870af
<p style="color:#2870af">Text here</p>
#2870af Background Color
This box has a background color of #2870af
<div style="background-color:#2870af">Text here</div>
#2870af Border Color
This box has a border color of #2870af
<div style="border: 4px solid #2870af">Text here</div>
CSS codes
<p style="color:#2870af">Text here</p>
<div style="background-color:#2870af">Text here</div>
<div style="border: 4px solid #2870af">Text here</div>
#2870af Color on white background
This is how a font and box color of #2870af will look
on a white background.
#2870af Color on black background
This is how a font and box color of #2870af hex color will look
on a black background.