In RGB color space, #2f5a98 hex color has a red value of 47, a green value of 90 and a blue value of 152.
In CMYK color space (used in color printing), #2f5a98 hex color is composed of 69.08% cyan, 40.79% magenta, 0% yellow and 40.39% black.
#2f5a98 color has a hue of 215.4 degrees, a saturation of 52.76% and a lightness of 39%.
#2f5a98 hex color contains mainly BLUE.
The closest web safe color of #2f5a98 is #336699
#2f5a98 hex color has a decimal value of 3103384.
HEX | 2f5a98 | #2f5a98 |
---|---|---|
RGB | 47, 90, 152 | rgb(47, 90, 152) |
RGB Percent | 18.43, 35.29, 59.61 | rgb(18.43, 35.29, 59.61) |
CMYK | 69, 41, 0, 40 | |
HSL | 215.4°, 52.76, 39 | hsl(215.4, 52.76%, 39%) |
HSV | 215.4°, 69.1, 59.6 |
XYZ | 10.496, 10.184, 31.118 |
---|---|
Hunter Lab | 31.912, 2.862, -35.475 |
CIE-LAB | 38.171, 6.388, -38.341 |
CIE-LCH | 38.171, 38.87, 279.459 |
CIE-LUV | 69.08, 40.79, 0, 40.39 |
Web Safe | 336699 |
RGB percent of color #2f5a98
CMYK percent of color #2f5a98
Text with hexadecimal color #2f5a98
This text has a font color of #2f5a98
<p style="color:#2f5a98">Text here</p>
#2f5a98 Background Color
This box has a background color of #2f5a98
<div style="background-color:#2f5a98">Text here</div>
#2f5a98 Border Color
This box has a border color of #2f5a98
<div style="border: 4px solid #2f5a98">Text here</div>
CSS codes
<p style="color:#2f5a98">Text here</p>
<div style="background-color:#2f5a98">Text here</div>
<div style="border: 4px solid #2f5a98">Text here</div>
#2f5a98 Color on white background
This is how a font and box color of #2f5a98 will look
on a white background.
#2f5a98 Color on black background
This is how a font and box color of #2f5a98 hex color will look
on a black background.