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