In RGB color space, #2a5c8e hex color has a red value of 42, a green value of 92 and a blue value of 142.
In CMYK color space (used in color printing), #2a5c8e hex color is composed of 70.42% cyan, 35.21% magenta, 0% yellow and 44.31% black.
#2a5c8e color has a hue of 210 degrees, a saturation of 54.35% and a lightness of 36.1%.
#2a5c8e hex color contains mainly BLUE.
The closest web safe color of #2a5c8e is #336699
#2a5c8e hex color has a decimal value of 2776206.
HEX | 2a5c8e | #2a5c8e |
---|---|---|
RGB | 42, 92, 142 | rgb(42, 92, 142) |
RGB Percent | 16.47, 36.08, 55.69 | rgb(16.47, 36.08, 55.69) |
CMYK | 70, 35, 0, 44 | |
HSL | 210°, 54.35, 36.1 | hsl(210, 54.35%, 36.1%) |
HSV | 210°, 70.4, 55.7 |
XYZ | 9.664, 10.1, 27.031 |
---|---|
Hunter Lab | 31.78, -1.337, -28.183 |
CIE-LAB | 38.021, 0.518, -32.558 |
CIE-LCH | 38.021, 32.562, 270.912 |
CIE-LUV | 70.42, 35.21, 0, 44.31 |
Web Safe | 336699 |
RGB percent of color #2a5c8e
CMYK percent of color #2a5c8e
Text with hexadecimal color #2a5c8e
This text has a font color of #2a5c8e
<p style="color:#2a5c8e">Text here</p>
#2a5c8e Background Color
This box has a background color of #2a5c8e
<div style="background-color:#2a5c8e">Text here</div>
#2a5c8e Border Color
This box has a border color of #2a5c8e
<div style="border: 4px solid #2a5c8e">Text here</div>
CSS codes
<p style="color:#2a5c8e">Text here</p>
<div style="background-color:#2a5c8e">Text here</div>
<div style="border: 4px solid #2a5c8e">Text here</div>
#2a5c8e Color on white background
This is how a font and box color of #2a5c8e will look
on a white background.
#2a5c8e Color on black background
This is how a font and box color of #2a5c8e hex color will look
on a black background.