In RGB color space, #2a1b54 hex color has a red value of 42, a green value of 27 and a blue value of 84.
In CMYK color space (used in color printing), #2a1b54 hex color is composed of 50% cyan, 67.86% magenta, 0% yellow and 67.06% black.
#2a1b54 color has a hue of 255.8 degrees, a saturation of 51.35% and a lightness of 21.8%.
#2a1b54 hex color contains mainly BLUE.
The closest web safe color of #2a1b54 is #333366
#2a1b54 hex color has a decimal value of 2759508.
HEX | 2a1b54 | #2a1b54 |
---|---|---|
RGB | 42, 27, 84 | rgb(42, 27, 84) |
RGB Percent | 16.47, 10.59, 32.94 | rgb(16.47, 10.59, 32.94) |
CMYK | 50, 68, 0, 67 | |
HSL | 255.8°, 51.35, 21.8 | hsl(255.8, 51.35%, 21.8%) |
HSV | 255.8°, 67.9, 32.9 |
XYZ | 2.947, 1.916, 8.602 |
---|---|
Hunter Lab | 13.842, 13.78, -27.156 |
CIE-LAB | 15.04, 23.285, -32.3 |
CIE-LCH | 15.04, 39.818, 305.788 |
CIE-LUV | 50, 67.86, 0, 67.06 |
Web Safe | 333366 |
RGB percent of color #2a1b54
CMYK percent of color #2a1b54
Text with hexadecimal color #2a1b54
This text has a font color of #2a1b54
<p style="color:#2a1b54">Text here</p>
#2a1b54 Background Color
This box has a background color of #2a1b54
<div style="background-color:#2a1b54">Text here</div>
#2a1b54 Border Color
This box has a border color of #2a1b54
<div style="border: 4px solid #2a1b54">Text here</div>
CSS codes
<p style="color:#2a1b54">Text here</p>
<div style="background-color:#2a1b54">Text here</div>
<div style="border: 4px solid #2a1b54">Text here</div>
#2a1b54 Color on white background
This is how a font and box color of #2a1b54 will look
on a white background.
#2a1b54 Color on black background
This is how a font and box color of #2a1b54 hex color will look
on a black background.