In RGB color space, #2a5f9d hex color has a red value of 42, a green value of 95 and a blue value of 157.
In CMYK color space (used in color printing), #2a5f9d hex color is composed of 73.25% cyan, 39.49% magenta, 0% yellow and 38.43% black.
#2a5f9d color has a hue of 212.3 degrees, a saturation of 57.79% and a lightness of 39%.
#2a5f9d hex color contains mainly BLUE.
The closest web safe color of #2a5f9d is #336699
#2a5f9d hex color has a decimal value of 2776989.
HEX | 2a5f9d | #2a5f9d |
---|---|---|
RGB | 42, 95, 157 | rgb(42, 95, 157) |
RGB Percent | 16.47, 37.25, 61.57 | rgb(16.47, 37.25, 61.57) |
CMYK | 73, 39, 0, 38 | |
HSL | 212.3°, 57.79, 39 | hsl(212.3, 57.79%, 39%) |
HSV | 212.3°, 73.2, 61.6 |
XYZ | 11.133, 11.111, 33.456 |
---|---|
Hunter Lab | 33.333, 1.284, -36.175 |
CIE-LAB | 39.767, 4.266, -38.809 |
CIE-LCH | 39.767, 39.043, 276.273 |
CIE-LUV | 73.25, 39.49, 0, 38.43 |
Web Safe | 336699 |
RGB percent of color #2a5f9d
CMYK percent of color #2a5f9d
Text with hexadecimal color #2a5f9d
This text has a font color of #2a5f9d
<p style="color:#2a5f9d">Text here</p>
#2a5f9d Background Color
This box has a background color of #2a5f9d
<div style="background-color:#2a5f9d">Text here</div>
#2a5f9d Border Color
This box has a border color of #2a5f9d
<div style="border: 4px solid #2a5f9d">Text here</div>
CSS codes
<p style="color:#2a5f9d">Text here</p>
<div style="background-color:#2a5f9d">Text here</div>
<div style="border: 4px solid #2a5f9d">Text here</div>
#2a5f9d Color on white background
This is how a font and box color of #2a5f9d will look
on a white background.
#2a5f9d Color on black background
This is how a font and box color of #2a5f9d hex color will look
on a black background.