In RGB color space, #2a42a1 hex color has a red value of 42, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #2a42a1 hex color is composed of 73.91% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#2a42a1 color has a hue of 227.9 degrees, a saturation of 58.62% and a lightness of 39.8%.
#2a42a1 hex color contains mainly BLUE.
The closest web safe color of #2a42a1 is #333399
#2a42a1 hex color has a decimal value of 2769569.
HEX | 2a42a1 | #2a42a1 |
---|---|---|
RGB | 42, 66, 161 | rgb(42, 66, 161) |
RGB Percent | 16.47, 25.88, 63.14 | rgb(16.47, 25.88, 63.14) |
CMYK | 74, 59, 0, 37 | |
HSL | 227.9°, 58.62, 39.8 | hsl(227.9, 58.62%, 39.8%) |
HSV | 227.9°, 73.9, 63.1 |
XYZ | 9.336, 6.962, 34.57 |
---|---|
Hunter Lab | 26.386, 16.984, -59.211 |
CIE-LAB | 31.72, 25.007, -54.164 |
CIE-LCH | 31.72, 59.658, 294.782 |
CIE-LUV | 73.91, 59.01, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2a42a1
CMYK percent of color #2a42a1
Text with hexadecimal color #2a42a1
This text has a font color of #2a42a1
<p style="color:#2a42a1">Text here</p>
#2a42a1 Background Color
This box has a background color of #2a42a1
<div style="background-color:#2a42a1">Text here</div>
#2a42a1 Border Color
This box has a border color of #2a42a1
<div style="border: 4px solid #2a42a1">Text here</div>
CSS codes
<p style="color:#2a42a1">Text here</p>
<div style="background-color:#2a42a1">Text here</div>
<div style="border: 4px solid #2a42a1">Text here</div>
#2a42a1 Color on white background
This is how a font and box color of #2a42a1 will look
on a white background.
#2a42a1 Color on black background
This is how a font and box color of #2a42a1 hex color will look
on a black background.