In RGB color space, #2f5aa8 hex color has a red value of 47, a green value of 90 and a blue value of 168.
In CMYK color space (used in color printing), #2f5aa8 hex color is composed of 72.02% cyan, 46.43% magenta, 0% yellow and 34.12% black.
#2f5aa8 color has a hue of 218.7 degrees, a saturation of 56.28% and a lightness of 42.2%.
#2f5aa8 hex color contains mainly BLUE.
The closest web safe color of #2f5aa8 is #336699
#2f5aa8 hex color has a decimal value of 3103400.
HEX | 2f5aa8 | #2f5aa8 |
---|---|---|
RGB | 47, 90, 168 | rgb(47, 90, 168) |
RGB Percent | 18.43, 35.29, 65.88 | rgb(18.43, 35.29, 65.88) |
CMYK | 72, 46, 0, 34 | |
HSL | 218.7°, 56.28, 42.2 | hsl(218.7, 56.28%, 42.2%) |
HSV | 218.7°, 72, 65.9 |
XYZ | 11.896, 10.744, 38.493 |
---|---|
Hunter Lab | 32.778, 7.421, -46.683 |
CIE-LAB | 39.146, 12.408, -46.339 |
CIE-LCH | 39.146, 47.971, 284.99 |
CIE-LUV | 72.02, 46.43, 0, 34.12 |
Web Safe | 336699 |
RGB percent of color #2f5aa8
CMYK percent of color #2f5aa8
Text with hexadecimal color #2f5aa8
This text has a font color of #2f5aa8
<p style="color:#2f5aa8">Text here</p>
#2f5aa8 Background Color
This box has a background color of #2f5aa8
<div style="background-color:#2f5aa8">Text here</div>
#2f5aa8 Border Color
This box has a border color of #2f5aa8
<div style="border: 4px solid #2f5aa8">Text here</div>
CSS codes
<p style="color:#2f5aa8">Text here</p>
<div style="background-color:#2f5aa8">Text here</div>
<div style="border: 4px solid #2f5aa8">Text here</div>
#2f5aa8 Color on white background
This is how a font and box color of #2f5aa8 will look
on a white background.
#2f5aa8 Color on black background
This is how a font and box color of #2f5aa8 hex color will look
on a black background.