In RGB color space, #2a56a1 hex color has a red value of 42, a green value of 86 and a blue value of 161.
In CMYK color space (used in color printing), #2a56a1 hex color is composed of 73.91% cyan, 46.58% magenta, 0% yellow and 36.86% black.
#2a56a1 color has a hue of 217.8 degrees, a saturation of 58.62% and a lightness of 39.8%.
#2a56a1 hex color contains mainly BLUE.
The closest web safe color of #2a56a1 is #336699
#2a56a1 hex color has a decimal value of 2774689.
HEX | 2a56a1 | #2a56a1 |
---|---|---|
RGB | 42, 86, 161 | rgb(42, 86, 161) |
RGB Percent | 16.47, 33.73, 63.14 | rgb(16.47, 33.73, 63.14) |
CMYK | 74, 47, 0, 37 | |
HSL | 217.8°, 58.62, 39.8 | hsl(217.8, 58.62%, 39.8%) |
HSV | 217.8°, 73.9, 63.1 |
XYZ | 10.716, 9.721, 35.03 |
---|---|
Hunter Lab | 31.179, 6.788, -44.789 |
CIE-LAB | 37.337, 11.646, -45.083 |
CIE-LCH | 37.337, 46.563, 284.484 |
CIE-LUV | 73.91, 46.58, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #2a56a1
CMYK percent of color #2a56a1
Text with hexadecimal color #2a56a1
This text has a font color of #2a56a1
<p style="color:#2a56a1">Text here</p>
#2a56a1 Background Color
This box has a background color of #2a56a1
<div style="background-color:#2a56a1">Text here</div>
#2a56a1 Border Color
This box has a border color of #2a56a1
<div style="border: 4px solid #2a56a1">Text here</div>
CSS codes
<p style="color:#2a56a1">Text here</p>
<div style="background-color:#2a56a1">Text here</div>
<div style="border: 4px solid #2a56a1">Text here</div>
#2a56a1 Color on white background
This is how a font and box color of #2a56a1 will look
on a white background.
#2a56a1 Color on black background
This is how a font and box color of #2a56a1 hex color will look
on a black background.