In RGB color space, #2f5baa hex color has a red value of 47, a green value of 91 and a blue value of 170.
In CMYK color space (used in color printing), #2f5baa hex color is composed of 72.35% cyan, 46.47% magenta, 0% yellow and 33.33% black.
#2f5baa color has a hue of 218.5 degrees, a saturation of 56.68% and a lightness of 42.5%.
#2f5baa hex color contains mainly BLUE.
The closest web safe color of #2f5baa is #336699
#2f5baa hex color has a decimal value of 3103658.
HEX | 2f5baa | #2f5baa |
---|---|---|
RGB | 47, 91, 170 | rgb(47, 91, 170) |
RGB Percent | 18.43, 35.69, 66.67 | rgb(18.43, 35.69, 66.67) |
CMYK | 72, 46, 0, 33 | |
HSL | 218.5°, 56.68, 42.5 | hsl(218.5, 56.68%, 42.5%) |
HSV | 218.5°, 72.4, 66.7 |
XYZ | 12.169, 10.989, 39.51 |
---|---|
Hunter Lab | 33.15, 7.514, -47.461 |
CIE-LAB | 39.562, 12.514, -46.856 |
CIE-LCH | 39.562, 48.498, 284.953 |
CIE-LUV | 72.35, 46.47, 0, 33.33 |
Web Safe | 336699 |
RGB percent of color #2f5baa
CMYK percent of color #2f5baa
Text with hexadecimal color #2f5baa
This text has a font color of #2f5baa
<p style="color:#2f5baa">Text here</p>
#2f5baa Background Color
This box has a background color of #2f5baa
<div style="background-color:#2f5baa">Text here</div>
#2f5baa Border Color
This box has a border color of #2f5baa
<div style="border: 4px solid #2f5baa">Text here</div>
CSS codes
<p style="color:#2f5baa">Text here</p>
<div style="background-color:#2f5baa">Text here</div>
<div style="border: 4px solid #2f5baa">Text here</div>
#2f5baa Color on white background
This is how a font and box color of #2f5baa will look
on a white background.
#2f5baa Color on black background
This is how a font and box color of #2f5baa hex color will look
on a black background.