In RGB color space, #2f5b87 hex color has a red value of 47, a green value of 91 and a blue value of 135.
In CMYK color space (used in color printing), #2f5b87 hex color is composed of 65.19% cyan, 32.59% magenta, 0% yellow and 47.06% black.
#2f5b87 color has a hue of 210 degrees, a saturation of 48.35% and a lightness of 35.7%.
#2f5b87 hex color contains mainly BLUE.
The closest web safe color of #2f5b87 is #336699
#2f5b87 hex color has a decimal value of 3103623.
HEX | 2f5b87 | #2f5b87 |
---|---|---|
RGB | 47, 91, 135 | rgb(47, 91, 135) |
RGB Percent | 18.43, 35.69, 52.94 | rgb(18.43, 35.69, 52.94) |
CMYK | 65, 33, 0, 47 | |
HSL | 210°, 48.35, 35.7 | hsl(210, 48.35%, 35.7%) |
HSV | 210°, 65.2, 52.9 |
XYZ | 9.287, 9.836, 24.331 |
---|---|
Hunter Lab | 31.362, -2.027, -24.044 |
CIE-LAB | 37.546, -0.51, -29.044 |
CIE-LCH | 37.546, 29.048, 268.994 |
CIE-LUV | 65.19, 32.59, 0, 47.06 |
Web Safe | 336699 |
RGB percent of color #2f5b87
CMYK percent of color #2f5b87
Text with hexadecimal color #2f5b87
This text has a font color of #2f5b87
<p style="color:#2f5b87">Text here</p>
#2f5b87 Background Color
This box has a background color of #2f5b87
<div style="background-color:#2f5b87">Text here</div>
#2f5b87 Border Color
This box has a border color of #2f5b87
<div style="border: 4px solid #2f5b87">Text here</div>
CSS codes
<p style="color:#2f5b87">Text here</p>
<div style="background-color:#2f5b87">Text here</div>
<div style="border: 4px solid #2f5b87">Text here</div>
#2f5b87 Color on white background
This is how a font and box color of #2f5b87 will look
on a white background.
#2f5b87 Color on black background
This is how a font and box color of #2f5b87 hex color will look
on a black background.