In RGB color space, #2f42a1 hex color has a red value of 47, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #2f42a1 hex color is composed of 70.81% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#2f42a1 color has a hue of 230 degrees, a saturation of 54.81% and a lightness of 40.8%.
#2f42a1 hex color contains mainly BLUE.
The closest web safe color of #2f42a1 is #333399
#2f42a1 hex color has a decimal value of 3097249.
HEX | 2f42a1 | #2f42a1 |
---|---|---|
RGB | 47, 66, 161 | rgb(47, 66, 161) |
RGB Percent | 18.43, 25.88, 63.14 | rgb(18.43, 25.88, 63.14) |
CMYK | 71, 59, 0, 37 | |
HSL | 230°, 54.81, 40.8 | hsl(230, 54.81%, 40.8%) |
HSV | 230°, 70.8, 63.1 |
XYZ | 9.554, 7.074, 34.58 |
---|---|
Hunter Lab | 26.597, 17.575, -58.468 |
CIE-LAB | 31.975, 25.692, -53.738 |
CIE-LCH | 31.975, 59.564, 295.552 |
CIE-LUV | 70.81, 59.01, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2f42a1
CMYK percent of color #2f42a1
Text with hexadecimal color #2f42a1
This text has a font color of #2f42a1
<p style="color:#2f42a1">Text here</p>
#2f42a1 Background Color
This box has a background color of #2f42a1
<div style="background-color:#2f42a1">Text here</div>
#2f42a1 Border Color
This box has a border color of #2f42a1
<div style="border: 4px solid #2f42a1">Text here</div>
CSS codes
<p style="color:#2f42a1">Text here</p>
<div style="background-color:#2f42a1">Text here</div>
<div style="border: 4px solid #2f42a1">Text here</div>
#2f42a1 Color on white background
This is how a font and box color of #2f42a1 will look
on a white background.
#2f42a1 Color on black background
This is how a font and box color of #2f42a1 hex color will look
on a black background.