In RGB color space, #2a51a3 hex color has a red value of 42, a green value of 81 and a blue value of 163.
In CMYK color space (used in color printing), #2a51a3 hex color is composed of 74.23% cyan, 50.31% magenta, 0% yellow and 36.08% black.
#2a51a3 color has a hue of 220.7 degrees, a saturation of 59.02% and a lightness of 40.2%.
#2a51a3 hex color contains mainly BLUE.
The closest web safe color of #2a51a3 is #336699
#2a51a3 hex color has a decimal value of 2773411.
HEX | 2a51a3 | #2a51a3 |
---|---|---|
RGB | 42, 81, 163 | rgb(42, 81, 163) |
RGB Percent | 16.47, 31.76, 63.92 | rgb(16.47, 31.76, 63.92) |
CMYK | 74, 50, 0, 36 | |
HSL | 220.7°, 59.02, 40.2 | hsl(220.7, 59.02%, 40.2%) |
HSV | 220.7°, 74.2, 63.9 |
XYZ | 10.508, 9.021, 35.838 |
---|---|
Hunter Lab | 30.035, 9.889, -49.721 |
CIE-LAB | 36.025, 15.729, -48.391 |
CIE-LCH | 36.025, 50.883, 288.006 |
CIE-LUV | 74.23, 50.31, 0, 36.08 |
Web Safe | 336699 |
RGB percent of color #2a51a3
CMYK percent of color #2a51a3
Text with hexadecimal color #2a51a3
This text has a font color of #2a51a3
<p style="color:#2a51a3">Text here</p>
#2a51a3 Background Color
This box has a background color of #2a51a3
<div style="background-color:#2a51a3">Text here</div>
#2a51a3 Border Color
This box has a border color of #2a51a3
<div style="border: 4px solid #2a51a3">Text here</div>
CSS codes
<p style="color:#2a51a3">Text here</p>
<div style="background-color:#2a51a3">Text here</div>
<div style="border: 4px solid #2a51a3">Text here</div>
#2a51a3 Color on white background
This is how a font and box color of #2a51a3 will look
on a white background.
#2a51a3 Color on black background
This is how a font and box color of #2a51a3 hex color will look
on a black background.