In RGB color space, #2a5a9a hex color has a red value of 42, a green value of 90 and a blue value of 154.
In CMYK color space (used in color printing), #2a5a9a hex color is composed of 72.73% cyan, 41.56% magenta, 0% yellow and 39.61% black.
#2a5a9a color has a hue of 214.3 degrees, a saturation of 57.14% and a lightness of 38.4%.
#2a5a9a hex color contains mainly BLUE.
The closest web safe color of #2a5a9a is #336699
#2a5a9a hex color has a decimal value of 2775706.
HEX | 2a5a9a | #2a5a9a |
---|---|---|
RGB | 42, 90, 154 | rgb(42, 90, 154) |
RGB Percent | 16.47, 35.29, 60.39 | rgb(16.47, 35.29, 60.39) |
CMYK | 73, 42, 0, 40 | |
HSL | 214.3°, 57.14, 38.4 | hsl(214.3, 57.14%, 38.4%) |
HSV | 214.3°, 72.7, 60.4 |
XYZ | 10.444, 10.138, 31.978 |
---|---|
Hunter Lab | 31.84, 2.83, -37.258 |
CIE-LAB | 38.089, 6.344, -39.685 |
CIE-LCH | 38.089, 40.189, 279.082 |
CIE-LUV | 72.73, 41.56, 0, 39.61 |
Web Safe | 336699 |
RGB percent of color #2a5a9a
CMYK percent of color #2a5a9a
Text with hexadecimal color #2a5a9a
This text has a font color of #2a5a9a
<p style="color:#2a5a9a">Text here</p>
#2a5a9a Background Color
This box has a background color of #2a5a9a
<div style="background-color:#2a5a9a">Text here</div>
#2a5a9a Border Color
This box has a border color of #2a5a9a
<div style="border: 4px solid #2a5a9a">Text here</div>
CSS codes
<p style="color:#2a5a9a">Text here</p>
<div style="background-color:#2a5a9a">Text here</div>
<div style="border: 4px solid #2a5a9a">Text here</div>
#2a5a9a Color on white background
This is how a font and box color of #2a5a9a will look
on a white background.
#2a5a9a Color on black background
This is how a font and box color of #2a5a9a hex color will look
on a black background.