What is hex #42E4FF 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 26% red, 89% green and 100% blue, resulting in rgb(66, 228, 255) and hsl(189, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (74%, 11%, 0%, 0%).
In the HSV/HSB scale, #42E4FF features a hue of 189°, 74% saturation, and 100% brightness.
Hex #42E4FF Color Codes & Conversions
| Closest Named Color | Turquoise (#40E0D0) |
| Hex Code | #42E4FF |
| Hex8 (RGBA Hex) | #42E4FFFF |
| RGB (CSS) | rgb(66, 228, 255) |
| RGBA (CSS) | rgba(66, 228, 255, 1) |
| HSL (CSS) | hsl(189, 100%, 63%) |
| HSLA (CSS) | hsla(189, 100%, 63%, 1) |
| HSV / HSB | (189°, 74%, 100%) |
| CMYK Values | (74%, 11%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(84.8% 0.133 211.5) |
| CIE-LAB (D65) | 83.89, -32.31, -24.98 |
| CIE XYZ | 48.03, 63.86, 104.38 |
| Decimal / Binary |
4383999
01000010 11100100 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #42E4FF 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 #42E4FF
Sample preview of readable typography on top of #42E4FF.
Black Text on #42E4FF
Sample preview of readable typography on top of #42E4FF.
HTML / CSS Live Previews & Snippets for #42E4FF
Preview #42E4FF in real UI elements and copy ready-to-use CSS rules.
background-color: #42E4FF;
color: #42E4FF;
border: 2px solid #42E4FF;
:root {
--color-primary: #42E4FF;
--color-primary-rgb: 66, 228, 255;
--color-complementary: #FF5D42;
}
.btn-accent {
background-color: #42E4FF;
color: #000000;
}
Hex #42E4FF Color Palettes
Complementary Palette
The complementary color of #42E4FF is #FF5D42. 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 #42E4FF pairs with #42FFBB and #4285FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #42E4FF pairs with #FFBB42 and #FF4285, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #42E4FF uses #E4FF42 and #FF42E4, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #42E4FF combines #FF42E4, #FF5D42 and #42FF5D around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #42E4FF pairs with #BB42FF, #FF5D42 and #85FF42 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #42E4FF
Tints
Tints are created by mixing #42E4FF with white, producing lighter variations.
Tones
Tones are created by mixing #42E4FF with gray, softening saturation.
Shades
Shades result from mixing #42E4FF with black, creating deeper variations.
Hex #42E4FF in Programming & CSS Frameworks
Copy the exact syntax for #42E4FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #42E4FF |
| Tailwind CSS | bg-[#42E4FF] text-[#42E4FF] |
| Java (AWT) | new Color(66,228,255); |
| Python | Color("#42E4FF") |
| .NET (C#) | Color.FromArgb(255, 66,228,255); |
| Swift / iOS | UIColor(red: 0.26, green: 0.89, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(66, 228, 255) |