What is hex #2AFFFC 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, 100% green and 99% blue, resulting in rgb(42, 255, 252) and hsl(179, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (84%, 0%, 1%, 0%).
In the HSV/HSB scale, #2AFFFC features a hue of 179°, 84% saturation, and 100% brightness.
Hex #2AFFFC Color Codes & Conversions
| Closest Named Color | Electric Cyan (#00FFFF) |
| Hex Code | #2AFFFC |
| Hex8 (RGBA Hex) | #2AFFFCFF |
| RGB (CSS) | rgb(42, 255, 252) |
| RGBA (CSS) | rgba(42, 255, 252, 1) |
| HSL (CSS) | hsl(179, 100%, 58%) |
| HSLA (CSS) | hsla(179, 100%, 58%, 1) |
| HSV / HSB | (179°, 84%, 100%) |
| CMYK Values | (84%, 0%, 1%, 0%) |
| OKLCH (Modern CSS) | oklch(90.7% 0.150 193.3) |
| CIE-LAB (D65) | 91.25, -47.46, -12.35 |
| CIE XYZ | 54.28, 79.03, 104.47 |
| Decimal / Binary |
2818044
00101010 11111111 11111100 |
WCAG 2.1 Color Contrast & Accessibility
Check how #2AFFFC 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 #2AFFFC
Sample preview of readable typography on top of #2AFFFC.
Black Text on #2AFFFC
Sample preview of readable typography on top of #2AFFFC.
HTML / CSS Live Previews & Snippets for #2AFFFC
Preview #2AFFFC in real UI elements and copy ready-to-use CSS rules.
background-color: #2AFFFC;
color: #2AFFFC;
border: 2px solid #2AFFFC;
:root {
--color-primary: #2AFFFC;
--color-primary-rgb: 42, 255, 252;
--color-complementary: #FF2A2D;
}
.btn-accent {
background-color: #2AFFFC;
color: #000000;
}
Hex #2AFFFC Color Palettes
Complementary Palette
The complementary color of #2AFFFC is #FF2A2D. 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 #2AFFFC pairs with #2AFF91 and #2A97FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #2AFFFC pairs with #FF912A and #FF2A97, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #2AFFFC uses #FFFC2A and #FC2AFF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #2AFFFC combines #FC2AFF, #FF2A2D and #2DFF2A around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #2AFFFC pairs with #912AFF, #FF2A2D and #97FF2A spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #2AFFFC
Tints
Tints are created by mixing #2AFFFC with white, producing lighter variations.
Tones
Tones are created by mixing #2AFFFC with gray, softening saturation.
Shades
Shades result from mixing #2AFFFC with black, creating deeper variations.
Hex #2AFFFC in Programming & CSS Frameworks
Copy the exact syntax for #2AFFFC in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #2AFFFC |
| Tailwind CSS | bg-[#2AFFFC] text-[#2AFFFC] |
| Java (AWT) | new Color(42,255,252); |
| Python | Color("#2AFFFC") |
| .NET (C#) | Color.FromArgb(255, 42,255,252); |
| Swift / iOS | UIColor(red: 0.16, green: 1, blue: 0.99, alpha: 1) |
| Kotlin / Android | Color.rgb(42, 255, 252) |