In RGB color space, #2a4787 hex color has a red value of 42, a green value of 71 and a blue value of 135.
In CMYK color space (used in color printing), #2a4787 hex color is composed of 68.89% cyan, 47.41% magenta, 0% yellow and 47.06% black.
#2a4787 color has a hue of 221.3 degrees, a saturation of 52.54% and a lightness of 34.7%.
#2a4787 hex color contains mainly BLUE.
The closest web safe color of #2a4787 is #333399
#2a4787 hex color has a decimal value of 2770823.
HEX | 2a4787 | #2a4787 |
---|---|---|
RGB | 42, 71, 135 | rgb(42, 71, 135) |
RGB Percent | 16.47, 27.84, 52.94 | rgb(16.47, 27.84, 52.94) |
CMYK | 69, 47, 0, 47 | |
HSL | 221.3°, 52.54, 34.7 | hsl(221.3, 52.54%, 34.7%) |
HSV | 221.3°, 68.9, 52.9 |
XYZ | 7.581, 6.748, 23.825 |
---|---|
Hunter Lab | 25.977, 6.633, -36.195 |
CIE-LAB | 31.226, 11.667, -39.094 |
CIE-LCH | 31.226, 40.798, 286.617 |
CIE-LUV | 68.89, 47.41, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #2a4787
CMYK percent of color #2a4787
Text with hexadecimal color #2a4787
This text has a font color of #2a4787
<p style="color:#2a4787">Text here</p>
#2a4787 Background Color
This box has a background color of #2a4787
<div style="background-color:#2a4787">Text here</div>
#2a4787 Border Color
This box has a border color of #2a4787
<div style="border: 4px solid #2a4787">Text here</div>
CSS codes
<p style="color:#2a4787">Text here</p>
<div style="background-color:#2a4787">Text here</div>
<div style="border: 4px solid #2a4787">Text here</div>
#2a4787 Color on white background
This is how a font and box color of #2a4787 will look
on a white background.
#2a4787 Color on black background
This is how a font and box color of #2a4787 hex color will look
on a black background.