In RGB color space, #2a1a9f hex color has a red value of 42, a green value of 26 and a blue value of 159.
In CMYK color space (used in color printing), #2a1a9f hex color is composed of 73.58% cyan, 83.65% magenta, 0% yellow and 37.65% black.
#2a1a9f color has a hue of 247.2 degrees, a saturation of 71.89% and a lightness of 36.3%.
#2a1a9f hex color contains mainly BLUE.
The closest web safe color of #2a1a9f is #333399
#2a1a9f hex color has a decimal value of 2759327.
HEX | 2a1a9f | #2a1a9f |
---|---|---|
RGB | 42, 26, 159 | rgb(42, 26, 159) |
RGB Percent | 16.47, 10.2, 62.35 | rgb(16.47, 10.2, 62.35) |
CMYK | 74, 84, 0, 38 | |
HSL | 247.2°, 71.89, 36.3 | hsl(247.2, 71.89%, 36.3%) |
HSV | 247.2°, 83.6, 62.4 |
XYZ | 7.582, 3.734, 33.122 |
---|---|
Hunter Lab | 19.324, 36.222, -88.101 |
CIE-LAB | 22.772, 48.118, -67.66 |
CIE-LCH | 22.772, 83.025, 305.419 |
CIE-LUV | 73.58, 83.65, 0, 37.65 |
Web Safe | 333399 |
RGB percent of color #2a1a9f
CMYK percent of color #2a1a9f
Text with hexadecimal color #2a1a9f
This text has a font color of #2a1a9f
<p style="color:#2a1a9f">Text here</p>
#2a1a9f Background Color
This box has a background color of #2a1a9f
<div style="background-color:#2a1a9f">Text here</div>
#2a1a9f Border Color
This box has a border color of #2a1a9f
<div style="border: 4px solid #2a1a9f">Text here</div>
CSS codes
<p style="color:#2a1a9f">Text here</p>
<div style="background-color:#2a1a9f">Text here</div>
<div style="border: 4px solid #2a1a9f">Text here</div>
#2a1a9f Color on white background
This is how a font and box color of #2a1a9f will look
on a white background.
#2a1a9f Color on black background
This is how a font and box color of #2a1a9f hex color will look
on a black background.