In RGB color space, #2a227e hex color has a red value of 42, a green value of 34 and a blue value of 126.
In CMYK color space (used in color printing), #2a227e hex color is composed of 66.67% cyan, 73.02% magenta, 0% yellow and 50.59% black.
#2a227e color has a hue of 245.2 degrees, a saturation of 57.5% and a lightness of 31.4%.
#2a227e hex color contains mainly BLUE.
The closest web safe color of #2a227e is #333366
#2a227e hex color has a decimal value of 2761342.
HEX | 2a227e | #2a227e |
---|---|---|
RGB | 42, 34, 126 | rgb(42, 34, 126) |
RGB Percent | 16.47, 13.33, 49.41 | rgb(16.47, 13.33, 49.41) |
CMYK | 67, 73, 0, 51 | |
HSL | 245.2°, 57.5, 31.4 | hsl(245.2, 57.5%, 31.4%) |
HSV | 245.2°, 73, 49.4 |
XYZ | 5.293, 3.143, 20.066 |
---|---|
Hunter Lab | 17.729, 22.268, -54.697 |
CIE-LAB | 20.608, 33.146, -50.698 |
CIE-LCH | 20.608, 60.572, 303.176 |
CIE-LUV | 66.67, 73.02, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #2a227e
CMYK percent of color #2a227e
Text with hexadecimal color #2a227e
This text has a font color of #2a227e
<p style="color:#2a227e">Text here</p>
#2a227e Background Color
This box has a background color of #2a227e
<div style="background-color:#2a227e">Text here</div>
#2a227e Border Color
This box has a border color of #2a227e
<div style="border: 4px solid #2a227e">Text here</div>
CSS codes
<p style="color:#2a227e">Text here</p>
<div style="background-color:#2a227e">Text here</div>
<div style="border: 4px solid #2a227e">Text here</div>
#2a227e Color on white background
This is how a font and box color of #2a227e will look
on a white background.
#2a227e Color on black background
This is how a font and box color of #2a227e hex color will look
on a black background.