In RGB color space, #2f5fa8 hex color has a red value of 47, a green value of 95 and a blue value of 168.
In CMYK color space (used in color printing), #2f5fa8 hex color is composed of 72.02% cyan, 43.45% magenta, 0% yellow and 34.12% black.
#2f5fa8 color has a hue of 216.2 degrees, a saturation of 56.28% and a lightness of 42.2%.
#2f5fa8 hex color contains mainly BLUE.
The closest web safe color of #2f5fa8 is #336699
#2f5fa8 hex color has a decimal value of 3104680.
HEX | 2f5fa8 | #2f5fa8 |
---|---|---|
RGB | 47, 95, 168 | rgb(47, 95, 168) |
RGB Percent | 18.43, 37.25, 65.88 | rgb(18.43, 37.25, 65.88) |
CMYK | 72, 43, 0, 34 | |
HSL | 216.2°, 56.28, 42.2 | hsl(216.2, 56.28%, 42.2%) |
HSV | 216.2°, 72, 65.9 |
XYZ | 12.332, 11.616, 38.638 |
---|---|
Hunter Lab | 34.082, 4.943, -43.358 |
CIE-LAB | 40.599, 9.163, -44.01 |
CIE-LCH | 40.599, 44.954, 281.761 |
CIE-LUV | 72.02, 43.45, 0, 34.12 |
Web Safe | 336699 |
RGB percent of color #2f5fa8
CMYK percent of color #2f5fa8
Text with hexadecimal color #2f5fa8
This text has a font color of #2f5fa8
<p style="color:#2f5fa8">Text here</p>
#2f5fa8 Background Color
This box has a background color of #2f5fa8
<div style="background-color:#2f5fa8">Text here</div>
#2f5fa8 Border Color
This box has a border color of #2f5fa8
<div style="border: 4px solid #2f5fa8">Text here</div>
CSS codes
<p style="color:#2f5fa8">Text here</p>
<div style="background-color:#2f5fa8">Text here</div>
<div style="border: 4px solid #2f5fa8">Text here</div>
#2f5fa8 Color on white background
This is how a font and box color of #2f5fa8 will look
on a white background.
#2f5fa8 Color on black background
This is how a font and box color of #2f5fa8 hex color will look
on a black background.