In RGB color space, #2a1a3d hex color has a red value of 42, a green value of 26 and a blue value of 61.
In CMYK color space (used in color printing), #2a1a3d hex color is composed of 31.15% cyan, 57.38% magenta, 0% yellow and 76.08% black.
#2a1a3d color has a hue of 267.4 degrees, a saturation of 40.23% and a lightness of 17.1%.
#2a1a3d hex color contains mainly BLUE.
The closest web safe color of #2a1a3d is #333333
#2a1a3d hex color has a decimal value of 2759229.
HEX | 2a1a3d | #2a1a3d |
---|---|---|
RGB | 42, 26, 61 | rgb(42, 26, 61) |
RGB Percent | 16.47, 10.2, 23.92 | rgb(16.47, 10.2, 23.92) |
CMYK | 31, 57, 0, 76 | |
HSL | 267.4°, 40.23, 17.1 | hsl(267.4, 40.23%, 17.1%) |
HSV | 267.4°, 57.4, 23.9 |
XYZ | 2.167, 1.568, 4.603 |
---|---|
Hunter Lab | 12.522, 8.977, -13.029 |
CIE-LAB | 13.034, 16.632, -19.613 |
CIE-LCH | 13.034, 25.716, 310.298 |
CIE-LUV | 31.15, 57.38, 0, 76.08 |
Web Safe | 333333 |
RGB percent of color #2a1a3d
CMYK percent of color #2a1a3d
Text with hexadecimal color #2a1a3d
This text has a font color of #2a1a3d
<p style="color:#2a1a3d">Text here</p>
#2a1a3d Background Color
This box has a background color of #2a1a3d
<div style="background-color:#2a1a3d">Text here</div>
#2a1a3d Border Color
This box has a border color of #2a1a3d
<div style="border: 4px solid #2a1a3d">Text here</div>
CSS codes
<p style="color:#2a1a3d">Text here</p>
<div style="background-color:#2a1a3d">Text here</div>
<div style="border: 4px solid #2a1a3d">Text here</div>
#2a1a3d Color on white background
This is how a font and box color of #2a1a3d will look
on a white background.
#2a1a3d Color on black background
This is how a font and box color of #2a1a3d hex color will look
on a black background.