In a RGB color space, #2a2a54 hex color is composed of 16.5% red, 16.5% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 50% magenta, 0% yellow and 67.1% black. It has a hue angle of 240 degrees, a saturation of 33.3% and a lightness of 24.7%. #2a2a54 color hex could be obtained by blending #5454a8 with #000000. Closest websafe color is: #333366.
The hexadecimal color #2a2a54 has RGB values of R:42, G:42, B:84 and CMYK values of C:0.5, M:0.5, Y:0, K:0.67. Its decimal value is 2763348.
Hex triplet | 2a2a54 | #2a2a54 |
RGB Decimal | 42, 42, 84 | rgb(42,42,84) |
RGB Percent | 16.5, 16.5, 32.9 | rgb(16.5%,16.5%,32.9%) |
CMYK | 50, 50, 0, 67.1 | |
HSL | 240°, 33.3, 24.7 | hsl(240,33.3%,24.7%) |
HSV(HSB) | 240°, 50, 32.9 | |
Web Safe | 333366 | #336 |
XYZ | 3.383, 2.788, 8.747 |
xyY | 0.227, 0.187, 2.788 |
CIE-LAB | 19.175, 12.855, -25.652 |
CIE-LCH | 19.175, 28.693, 296.618 |
CIE-LUV | 19.175, -2.105, -29.194 |
Hunter-Lab | 16.698, 6.943, -19.371 |
Binary | 00101010, 00101010, 01010100 |
Below, you can see some colors close to #2a2a54. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
This text has a font color of #2a2a54.
<span style="color:#2a2a54">Text here</span>
This paragraph has a background color of #2a2a54.
<p style="background-color:#2a2a54;">Content here</p>
This element has a border color of #2a2a54.
<div style="border:1px #2a2a54;">Content here</div>
.text {color:#2a2a54;}
.background {background-color:#2a2a54;}
.border {border:1px solid #2a2a54;}
.text-shadow {border:1px solid #2a2a54;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #07070d is the darkest color, while #fefeff is the lightest one.
A tone is produced by adding gray to any pure hue. In this case, #3f3f3f is the less saturated color, while #050579 is the most saturated one.