In RGB color space, #2f4198 hex color has a red value of 47, a green value of 65 and a blue value of 152.
In CMYK color space (used in color printing), #2f4198 hex color is composed of 69.08% cyan, 57.24% magenta, 0% yellow and 40.39% black.
#2f4198 color has a hue of 229.7 degrees, a saturation of 52.76% and a lightness of 39%.
#2f4198 hex color contains mainly BLUE.
The closest web safe color of #2f4198 is #333399
#2f4198 hex color has a decimal value of 3096984.
HEX | 2f4198 | #2f4198 |
---|---|---|
RGB | 47, 65, 152 | rgb(47, 65, 152) |
RGB Percent | 18.43, 25.49, 59.61 | rgb(18.43, 25.49, 59.61) |
CMYK | 69, 57, 0, 40 | |
HSL | 229.7°, 52.76, 39 | hsl(229.7, 52.76%, 39%) |
HSV | 229.7°, 69.1, 59.6 |
XYZ | 8.73, 6.652, 30.53 |
---|---|
Hunter Lab | 25.791, 15.284, -52.129 |
CIE-LAB | 31.001, 23.003, -49.867 |
CIE-LCH | 31.001, 54.917, 294.763 |
CIE-LUV | 69.08, 57.24, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #2f4198
CMYK percent of color #2f4198
Text with hexadecimal color #2f4198
This text has a font color of #2f4198
<p style="color:#2f4198">Text here</p>
#2f4198 Background Color
This box has a background color of #2f4198
<div style="background-color:#2f4198">Text here</div>
#2f4198 Border Color
This box has a border color of #2f4198
<div style="border: 4px solid #2f4198">Text here</div>
CSS codes
<p style="color:#2f4198">Text here</p>
<div style="background-color:#2f4198">Text here</div>
<div style="border: 4px solid #2f4198">Text here</div>
#2f4198 Color on white background
This is how a font and box color of #2f4198 will look
on a white background.
#2f4198 Color on black background
This is how a font and box color of #2f4198 hex color will look
on a black background.