What is hex #2A2AAA color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 16% red, 16% green and 67% blue, resulting in rgb(42, 42, 170) and hsl(240, 60%, 42%).
For print media and manufacturing layout, the CMYK equivalent is (75%, 75%, 0%, 33%).
In the HSV/HSB scale, #2A2AAA features a hue of 240°, 75% saturation, and 67% brightness.
Hex #2A2AAA Color Codes & Conversions
| Closest Named Color | Blue Pigment (#333399) |
| Hex Code | #2A2AAA |
| Hex8 (RGBA Hex) | #2A2AAAFF |
| RGB (CSS) | rgb(42, 42, 170) |
| RGBA (CSS) | rgba(42, 42, 170, 1) |
| HSL (CSS) | hsl(240, 60%, 42%) |
| HSLA (CSS) | hsla(240, 60%, 42%, 1) |
| HSV / HSB | (240°, 75%, 67%) |
| CMYK Values | (75%, 75%, 0%, 33%) |
| OKLCH (Modern CSS) | oklch(38.8% 0.196 272.5) |
| CIE-LAB (D65) | 26.88, 43.39, -67.53 |
| CIE XYZ | 9.04, 5.05, 38.52 |
| Decimal / Binary |
2763434
00101010 00101010 10101010 |
Closest Standards & Equivalents
| Closest Web Safe | #333399 [Blue Pigment] |
| Inverse Color | #D5D555 |
| Complementary Color | #AAAA2A |
| Closest Pantone® | Pantone 2736 C |
| Closest RAL | RAL 5002 [Ultramarine blue] |
#2A2AAA Grayscale Equivalents
| Average | #555555 [Davy Grey] |
| Lightness (Desaturation) | #6A6A6A |
| Weighted (BT601) | #393939 |
| Luma (BT709) | #333333 |
WCAG 2.1 Color Contrast & Accessibility
Check how #2A2AAA complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #2A2AAA
Sample preview of readable typography on top of #2A2AAA.
Black Text on #2A2AAA
Sample preview of readable typography on top of #2A2AAA.
HTML / CSS Live Previews & Snippets for #2A2AAA
Preview #2A2AAA in real UI elements and copy ready-to-use CSS rules.
background-color: #2A2AAA;
color: #2A2AAA;
border: 2px solid #2A2AAA;
:root {
--color-primary: #2A2AAA;
--color-primary-rgb: 42, 42, 170;
--color-complementary: #AAAA2A;
}
.btn-accent {
background-color: #2A2AAA;
color: #ffffff;
}
Hex #2A2AAA Color Palettes
Complementary Palette
The complementary color of #2A2AAA is #AAAA2A. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #2A2AAA pairs with #2A6AAA and #6A2AAA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #2A2AAA pairs with #6AAA2A and #AA6A2A, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #2A2AAA uses #2AAA2A and #AA2A2A, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #2A2AAA combines #AA2A2A, #AAAA2A and #2AAAAA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #2A2AAA pairs with #AA2A6A, #AAAA2A and #2AAA6A spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #2A2AAA
Tints
Tints are created by mixing #2A2AAA with white, producing lighter variations.
Tones
Tones are created by mixing #2A2AAA with gray, softening saturation.
Shades
Shades result from mixing #2A2AAA with black, creating deeper variations.
Hex #2A2AAA in Programming & CSS Frameworks
Copy the exact syntax for #2A2AAA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #2A2AAA |
| Tailwind CSS | bg-[#2A2AAA] text-[#2A2AAA] |
| Java (AWT) | new Color(42,42,170); |
| Python | Color("#2A2AAA") |
| .NET (C#) | Color.FromArgb(255, 42,42,170); |
| Swift / iOS | UIColor(red: 0.16, green: 0.16, blue: 0.67, alpha: 1) |
| Kotlin / Android | Color.rgb(42, 42, 170) |