In RGB color space, #2f42a4 hex color has a red value of 47, a green value of 66 and a blue value of 164.
In CMYK color space (used in color printing), #2f42a4 hex color is composed of 71.34% cyan, 59.76% magenta, 0% yellow and 35.69% black.
#2f42a4 color has a hue of 230.3 degrees, a saturation of 55.45% and a lightness of 41.4%.
#2f42a4 hex color contains mainly BLUE.
The closest web safe color of #2f42a4 is #333399
#2f42a4 hex color has a decimal value of 3097252.
HEX | 2f42a4 | #2f42a4 |
---|---|---|
RGB | 47, 66, 164 | rgb(47, 66, 164) |
RGB Percent | 18.43, 25.88, 64.31 | rgb(18.43, 25.88, 64.31) |
CMYK | 71, 60, 0, 36 | |
HSL | 230.3°, 55.45, 41.4 | hsl(230.3, 55.45%, 41.4%) |
HSV | 230.3°, 71.3, 64.3 |
XYZ | 9.821, 7.181, 35.99 |
---|---|
Hunter Lab | 26.797, 18.523, -60.871 |
CIE-LAB | 32.215, 26.801, -55.153 |
CIE-LCH | 32.215, 61.32, 295.917 |
CIE-LUV | 71.34, 59.76, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #2f42a4
CMYK percent of color #2f42a4
Text with hexadecimal color #2f42a4
This text has a font color of #2f42a4
<p style="color:#2f42a4">Text here</p>
#2f42a4 Background Color
This box has a background color of #2f42a4
<div style="background-color:#2f42a4">Text here</div>
#2f42a4 Border Color
This box has a border color of #2f42a4
<div style="border: 4px solid #2f42a4">Text here</div>
CSS codes
<p style="color:#2f42a4">Text here</p>
<div style="background-color:#2f42a4">Text here</div>
<div style="border: 4px solid #2f42a4">Text here</div>
#2f42a4 Color on white background
This is how a font and box color of #2f42a4 will look
on a white background.
#2f42a4 Color on black background
This is how a font and box color of #2f42a4 hex color will look
on a black background.