In RGB color space, #2a5f8d hex color has a red value of 42, a green value of 95 and a blue value of 141.
In CMYK color space (used in color printing), #2a5f8d hex color is composed of 70.21% cyan, 32.62% magenta, 0% yellow and 44.71% black.
#2a5f8d color has a hue of 207.9 degrees, a saturation of 54.1% and a lightness of 35.9%.
#2a5f8d hex color contains mainly BLUE.
The closest web safe color of #2a5f8d is #336699
#2a5f8d hex color has a decimal value of 2776973.
HEX | 2a5f8d | #2a5f8d |
---|---|---|
RGB | 42, 95, 141 | rgb(42, 95, 141) |
RGB Percent | 16.47, 37.25, 55.29 | rgb(16.47, 37.25, 55.29) |
CMYK | 70, 33, 0, 45 | |
HSL | 207.9°, 54.1, 35.9 | hsl(207.9, 54.1%, 35.9%) |
HSV | 207.9°, 70.2, 55.3 |
XYZ | 9.855, 10.6, 26.726 |
---|---|
Hunter Lab | 32.558, -2.945, -25.88 |
CIE-LAB | 38.898, -1.735, -30.572 |
CIE-LCH | 38.898, 30.621, 266.752 |
CIE-LUV | 70.21, 32.62, 0, 44.71 |
Web Safe | 336699 |
RGB percent of color #2a5f8d
CMYK percent of color #2a5f8d
Text with hexadecimal color #2a5f8d
This text has a font color of #2a5f8d
<p style="color:#2a5f8d">Text here</p>
#2a5f8d Background Color
This box has a background color of #2a5f8d
<div style="background-color:#2a5f8d">Text here</div>
#2a5f8d Border Color
This box has a border color of #2a5f8d
<div style="border: 4px solid #2a5f8d">Text here</div>
CSS codes
<p style="color:#2a5f8d">Text here</p>
<div style="background-color:#2a5f8d">Text here</div>
<div style="border: 4px solid #2a5f8d">Text here</div>
#2a5f8d Color on white background
This is how a font and box color of #2a5f8d will look
on a white background.
#2a5f8d Color on black background
This is how a font and box color of #2a5f8d hex color will look
on a black background.