In RGB color space, #2f42a0 hex color has a red value of 47, a green value of 66 and a blue value of 160.
In CMYK color space (used in color printing), #2f42a0 hex color is composed of 70.63% cyan, 58.75% magenta, 0% yellow and 37.25% black.
#2f42a0 color has a hue of 229.9 degrees, a saturation of 54.59% and a lightness of 40.6%.
#2f42a0 hex color contains mainly BLUE.
The closest web safe color of #2f42a0 is #333399
#2f42a0 hex color has a decimal value of 3097248.
HEX | 2f42a0 | #2f42a0 |
---|---|---|
RGB | 47, 66, 160 | rgb(47, 66, 160) |
RGB Percent | 18.43, 25.88, 62.75 | rgb(18.43, 25.88, 62.75) |
CMYK | 71, 59, 0, 37 | |
HSL | 229.9°, 54.59, 40.6 | hsl(229.9, 54.59%, 40.6%) |
HSV | 229.9°, 70.6, 62.7 |
XYZ | 9.466, 7.039, 34.117 |
---|---|
Hunter Lab | 26.531, 17.257, -57.671 |
CIE-LAB | 31.896, 25.318, -53.263 |
CIE-LCH | 31.896, 58.974, 295.424 |
CIE-LUV | 70.63, 58.75, 0, 37.25 |
Web Safe | 333399 |
RGB percent of color #2f42a0
CMYK percent of color #2f42a0
Text with hexadecimal color #2f42a0
This text has a font color of #2f42a0
<p style="color:#2f42a0">Text here</p>
#2f42a0 Background Color
This box has a background color of #2f42a0
<div style="background-color:#2f42a0">Text here</div>
#2f42a0 Border Color
This box has a border color of #2f42a0
<div style="border: 4px solid #2f42a0">Text here</div>
CSS codes
<p style="color:#2f42a0">Text here</p>
<div style="background-color:#2f42a0">Text here</div>
<div style="border: 4px solid #2f42a0">Text here</div>
#2f42a0 Color on white background
This is how a font and box color of #2f42a0 will look
on a white background.
#2f42a0 Color on black background
This is how a font and box color of #2f42a0 hex color will look
on a black background.