In RGB color space, #2a5287 hex color has a red value of 42, a green value of 82 and a blue value of 135.
In CMYK color space (used in color printing), #2a5287 hex color is composed of 68.89% cyan, 39.26% magenta, 0% yellow and 47.06% black.
#2a5287 color has a hue of 214.2 degrees, a saturation of 52.54% and a lightness of 34.7%.
#2a5287 hex color contains mainly BLUE.
The closest web safe color of #2a5287 is #336699
#2a5287 hex color has a decimal value of 2773639.
HEX | 2a5287 | #2a5287 |
---|---|---|
RGB | 42, 82, 135 | rgb(42, 82, 135) |
RGB Percent | 16.47, 32.16, 52.94 | rgb(16.47, 32.16, 52.94) |
CMYK | 69, 39, 0, 47 | |
HSL | 214.2°, 52.54, 34.7 | hsl(214.2, 52.54%, 34.7%) |
HSV | 214.2°, 68.9, 52.9 |
XYZ | 8.345, 8.276, 24.079 |
---|---|
Hunter Lab | 28.768, 1.435, -29.488 |
CIE-LAB | 34.551, 4.335, -33.788 |
CIE-LCH | 34.551, 34.065, 277.311 |
CIE-LUV | 68.89, 39.26, 0, 47.06 |
Web Safe | 336699 |
RGB percent of color #2a5287
CMYK percent of color #2a5287
Text with hexadecimal color #2a5287
This text has a font color of #2a5287
<p style="color:#2a5287">Text here</p>
#2a5287 Background Color
This box has a background color of #2a5287
<div style="background-color:#2a5287">Text here</div>
#2a5287 Border Color
This box has a border color of #2a5287
<div style="border: 4px solid #2a5287">Text here</div>
CSS codes
<p style="color:#2a5287">Text here</p>
<div style="background-color:#2a5287">Text here</div>
<div style="border: 4px solid #2a5287">Text here</div>
#2a5287 Color on white background
This is how a font and box color of #2a5287 will look
on a white background.
#2a5287 Color on black background
This is how a font and box color of #2a5287 hex color will look
on a black background.