In RGB color space, #2a4f9f hex color has a red value of 42, a green value of 79 and a blue value of 159.
In CMYK color space (used in color printing), #2a4f9f hex color is composed of 73.58% cyan, 50.31% magenta, 0% yellow and 37.65% black.
#2a4f9f color has a hue of 221 degrees, a saturation of 58.21% and a lightness of 39.4%.
#2a4f9f hex color contains mainly BLUE.
The closest web safe color of #2a4f9f is #336699
#2a4f9f hex color has a decimal value of 2772895.
HEX | 2a4f9f | #2a4f9f |
---|---|---|
RGB | 42, 79, 159 | rgb(42, 79, 159) |
RGB Percent | 16.47, 30.98, 62.35 | rgb(16.47, 30.98, 62.35) |
CMYK | 74, 50, 0, 38 | |
HSL | 221°, 58.21, 39.4 | hsl(221, 58.21%, 39.4%) |
HSV | 221°, 73.6, 62.4 |
XYZ | 10.009, 8.587, 33.931 |
---|---|
Hunter Lab | 29.304, 9.688, -48.14 |
CIE-LAB | 35.177, 15.524, -47.359 |
CIE-LCH | 35.177, 49.838, 288.149 |
CIE-LUV | 73.58, 50.31, 0, 37.65 |
Web Safe | 336699 |
RGB percent of color #2a4f9f
CMYK percent of color #2a4f9f
Text with hexadecimal color #2a4f9f
This text has a font color of #2a4f9f
<p style="color:#2a4f9f">Text here</p>
#2a4f9f Background Color
This box has a background color of #2a4f9f
<div style="background-color:#2a4f9f">Text here</div>
#2a4f9f Border Color
This box has a border color of #2a4f9f
<div style="border: 4px solid #2a4f9f">Text here</div>
CSS codes
<p style="color:#2a4f9f">Text here</p>
<div style="background-color:#2a4f9f">Text here</div>
<div style="border: 4px solid #2a4f9f">Text here</div>
#2a4f9f Color on white background
This is how a font and box color of #2a4f9f will look
on a white background.
#2a4f9f Color on black background
This is how a font and box color of #2a4f9f hex color will look
on a black background.