In RGB color space, #2a4f8e hex color has a red value of 42, a green value of 79 and a blue value of 142.
In CMYK color space (used in color printing), #2a4f8e hex color is composed of 70.42% cyan, 44.37% magenta, 0% yellow and 44.31% black.
#2a4f8e color has a hue of 217.8 degrees, a saturation of 54.35% and a lightness of 36.1%.
#2a4f8e hex color contains mainly BLUE.
The closest web safe color of #2a4f8e is #336699
#2a4f8e hex color has a decimal value of 2772878.
HEX | 2a4f8e | #2a4f8e |
---|---|---|
RGB | 42, 79, 142 | rgb(42, 79, 142) |
RGB Percent | 16.47, 30.98, 55.69 | rgb(16.47, 30.98, 55.69) |
CMYK | 70, 44, 0, 44 | |
HSL | 217.8°, 54.35, 36.1 | hsl(217.8, 54.35%, 36.1%) |
HSV | 217.8°, 70.4, 55.7 |
XYZ | 8.633, 8.037, 26.687 |
---|---|
Hunter Lab | 28.35, 4.745, -35.968 |
CIE-LAB | 34.06, 8.981, -38.853 |
CIE-LCH | 34.06, 39.877, 283.016 |
CIE-LUV | 70.42, 44.37, 0, 44.31 |
Web Safe | 336699 |
RGB percent of color #2a4f8e
CMYK percent of color #2a4f8e
Text with hexadecimal color #2a4f8e
This text has a font color of #2a4f8e
<p style="color:#2a4f8e">Text here</p>
#2a4f8e Background Color
This box has a background color of #2a4f8e
<div style="background-color:#2a4f8e">Text here</div>
#2a4f8e Border Color
This box has a border color of #2a4f8e
<div style="border: 4px solid #2a4f8e">Text here</div>
CSS codes
<p style="color:#2a4f8e">Text here</p>
<div style="background-color:#2a4f8e">Text here</div>
<div style="border: 4px solid #2a4f8e">Text here</div>
#2a4f8e Color on white background
This is how a font and box color of #2a4f8e will look
on a white background.
#2a4f8e Color on black background
This is how a font and box color of #2a4f8e hex color will look
on a black background.