In RGB color space, #2a1a8c hex color has a red value of 42, a green value of 26 and a blue value of 140.
In CMYK color space (used in color printing), #2a1a8c hex color is composed of 70% cyan, 81.43% magenta, 0% yellow and 45.1% black.
#2a1a8c color has a hue of 248.4 degrees, a saturation of 68.67% and a lightness of 32.5%.
#2a1a8c hex color contains mainly BLUE.
The closest web safe color of #2a1a8c is #333399
#2a1a8c hex color has a decimal value of 2759308.
HEX | 2a1a8c | #2a1a8c |
---|---|---|
RGB | 42, 26, 140 | rgb(42, 26, 140) |
RGB Percent | 16.47, 10.2, 54.9 | rgb(16.47, 10.2, 54.9) |
CMYK | 70, 81, 0, 45 | |
HSL | 248.4°, 68.67, 32.5 | hsl(248.4, 68.67%, 32.5%) |
HSV | 248.4°, 81.4, 54.9 |
XYZ | 6.058, 3.124, 25.095 |
---|---|
Hunter Lab | 17.675, 30.249, -71.808 |
CIE-LAB | 20.534, 42.252, -59.634 |
CIE-LCH | 20.534, 73.085, 305.318 |
CIE-LUV | 70, 81.43, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #2a1a8c
CMYK percent of color #2a1a8c
Text with hexadecimal color #2a1a8c
This text has a font color of #2a1a8c
<p style="color:#2a1a8c">Text here</p>
#2a1a8c Background Color
This box has a background color of #2a1a8c
<div style="background-color:#2a1a8c">Text here</div>
#2a1a8c Border Color
This box has a border color of #2a1a8c
<div style="border: 4px solid #2a1a8c">Text here</div>
CSS codes
<p style="color:#2a1a8c">Text here</p>
<div style="background-color:#2a1a8c">Text here</div>
<div style="border: 4px solid #2a1a8c">Text here</div>
#2a1a8c Color on white background
This is how a font and box color of #2a1a8c will look
on a white background.
#2a1a8c Color on black background
This is how a font and box color of #2a1a8c hex color will look
on a black background.