In RGB color space, #2f4f98 hex color has a red value of 47, a green value of 79 and a blue value of 152.
In CMYK color space (used in color printing), #2f4f98 hex color is composed of 69.08% cyan, 48.03% magenta, 0% yellow and 40.39% black.
#2f4f98 color has a hue of 221.7 degrees, a saturation of 52.76% and a lightness of 39%.
#2f4f98 hex color contains mainly BLUE.
The closest web safe color of #2f4f98 is #336699
#2f4f98 hex color has a decimal value of 3100568.
HEX | 2f4f98 | #2f4f98 |
---|---|---|
RGB | 47, 79, 152 | rgb(47, 79, 152) |
RGB Percent | 18.43, 30.98, 59.61 | rgb(18.43, 30.98, 59.61) |
CMYK | 69, 48, 0, 40 | |
HSL | 221.7°, 52.76, 39 | hsl(221.7, 52.76%, 39%) |
HSV | 221.7°, 69.1, 59.6 |
XYZ | 9.636, 8.463, 30.831 |
---|---|
Hunter Lab | 29.091, 8.216, -42.472 |
CIE-LAB | 34.929, 13.621, -43.524 |
CIE-LCH | 34.929, 45.606, 287.378 |
CIE-LUV | 69.08, 48.03, 0, 40.39 |
Web Safe | 336699 |
RGB percent of color #2f4f98
CMYK percent of color #2f4f98
Text with hexadecimal color #2f4f98
This text has a font color of #2f4f98
<p style="color:#2f4f98">Text here</p>
#2f4f98 Background Color
This box has a background color of #2f4f98
<div style="background-color:#2f4f98">Text here</div>
#2f4f98 Border Color
This box has a border color of #2f4f98
<div style="border: 4px solid #2f4f98">Text here</div>
CSS codes
<p style="color:#2f4f98">Text here</p>
<div style="background-color:#2f4f98">Text here</div>
<div style="border: 4px solid #2f4f98">Text here</div>
#2f4f98 Color on white background
This is how a font and box color of #2f4f98 will look
on a white background.
#2f4f98 Color on black background
This is how a font and box color of #2f4f98 hex color will look
on a black background.