What is hex #40CCFF 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 25% red, 80% green and 100% blue, resulting in rgb(64, 204, 255) and hsl(196, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (75%, 20%, 0%, 0%).
In the HSV/HSB scale, #40CCFF features a hue of 196°, 75% saturation, and 100% brightness.
Hex #40CCFF Color Codes & Conversions
| Closest Named Color | Blue Jeans (#5DADEC) |
| Hex Code | #40CCFF |
| Hex8 (RGBA Hex) | #40CCFFFF |
| RGB (CSS) | rgb(64, 204, 255) |
| RGBA (CSS) | rgba(64, 204, 255, 1) |
| HSL (CSS) | hsl(196, 100%, 63%) |
| HSLA (CSS) | hsla(196, 100%, 63%, 1) |
| HSV / HSB | (196°, 75%, 100%) |
| CMYK Values | (75%, 20%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(79.3% 0.136 227.3) |
| CIE-LAB (D65) | 76.98, -20.68, -35.60 |
| CIE XYZ | 41.75, 51.49, 102.33 |
| Decimal / Binary |
4246783
01000000 11001100 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #40CCFF 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 #40CCFF
Sample preview of readable typography on top of #40CCFF.
Black Text on #40CCFF
Sample preview of readable typography on top of #40CCFF.
HTML / CSS Live Previews & Snippets for #40CCFF
Preview #40CCFF in real UI elements and copy ready-to-use CSS rules.
background-color: #40CCFF;
color: #40CCFF;
border: 2px solid #40CCFF;
:root {
--color-primary: #40CCFF;
--color-primary-rgb: 64, 204, 255;
--color-complementary: #FF7340;
}
.btn-accent {
background-color: #40CCFF;
color: #000000;
}
Hex #40CCFF Color Palettes
Complementary Palette
The complementary color of #40CCFF is #FF7340. 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 #40CCFF pairs with #40FFD2 and #406CFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #40CCFF pairs with #FFD240 and #FF406C, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #40CCFF uses #CCFF40 and #FF40CC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #40CCFF combines #FF40CC, #FF7340 and #40FF73 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #40CCFF pairs with #D240FF, #FF7340 and #6CFF40 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #40CCFF
Tints
Tints are created by mixing #40CCFF with white, producing lighter variations.
Tones
Tones are created by mixing #40CCFF with gray, softening saturation.
Shades
Shades result from mixing #40CCFF with black, creating deeper variations.
Hex #40CCFF in Programming & CSS Frameworks
Copy the exact syntax for #40CCFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #40CCFF |
| Tailwind CSS | bg-[#40CCFF] text-[#40CCFF] |
| Java (AWT) | new Color(64,204,255); |
| Python | Color("#40CCFF") |
| .NET (C#) | Color.FromArgb(255, 64,204,255); |
| Swift / iOS | UIColor(red: 0.25, green: 0.8, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(64, 204, 255) |