In RGB color space, #2f5dab hex color has a red value of 47, a green value of 93 and a blue value of 171.
In CMYK color space (used in color printing), #2f5dab hex color is composed of 72.51% cyan, 45.61% magenta, 0% yellow and 32.94% black.
#2f5dab color has a hue of 217.7 degrees, a saturation of 56.88% and a lightness of 42.7%.
#2f5dab hex color contains mainly BLUE.
The closest web safe color of #2f5dab is #336699
#2f5dab hex color has a decimal value of 3104171.
HEX | 2f5dab | #2f5dab |
---|---|---|
RGB | 47, 93, 171 | rgb(47, 93, 171) |
RGB Percent | 18.43, 36.47, 67.06 | rgb(18.43, 36.47, 67.06) |
CMYK | 73, 46, 0, 33 | |
HSL | 217.7°, 56.88, 42.7 | hsl(217.7, 56.88%, 42.7%) |
HSV | 217.7°, 72.5, 67.1 |
XYZ | 12.437, 11.373, 40.068 |
---|---|
Hunter Lab | 33.724, 6.812, -46.837 |
CIE-LAB | 40.202, 11.593, -46.421 |
CIE-LCH | 40.202, 47.847, 284.022 |
CIE-LUV | 72.51, 45.61, 0, 32.94 |
Web Safe | 336699 |
RGB percent of color #2f5dab
CMYK percent of color #2f5dab
Text with hexadecimal color #2f5dab
This text has a font color of #2f5dab
<p style="color:#2f5dab">Text here</p>
#2f5dab Background Color
This box has a background color of #2f5dab
<div style="background-color:#2f5dab">Text here</div>
#2f5dab Border Color
This box has a border color of #2f5dab
<div style="border: 4px solid #2f5dab">Text here</div>
CSS codes
<p style="color:#2f5dab">Text here</p>
<div style="background-color:#2f5dab">Text here</div>
<div style="border: 4px solid #2f5dab">Text here</div>
#2f5dab Color on white background
This is how a font and box color of #2f5dab will look
on a white background.
#2f5dab Color on black background
This is how a font and box color of #2f5dab hex color will look
on a black background.