What is hex #E2E4E4 color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 89% red, 89% green and 89% blue, resulting in rgb(226, 228, 228) and hsl(180, 4%, 89%).
For print media and manufacturing layout, the CMYK equivalent is (1%, 0%, 0%, 11%).
In the HSV/HSB scale, #E2E4E4 features a hue of 180°, 1% saturation, and 89% brightness.
Hex #E2E4E4 Color Codes & Conversions
| Closest Named Color | Gainsboro (#DCDCDC) |
| Hex Code | #E2E4E4 |
| Hex8 (RGBA Hex) | #E2E4E4FF |
| RGB (CSS) | rgb(226, 228, 228) |
| RGBA (CSS) | rgba(226, 228, 228, 1) |
| HSL (CSS) | hsl(180, 4%, 89%) |
| HSLA (CSS) | hsla(180, 4%, 89%, 1) |
| HSV / HSB | (180°, 1%, 89%) |
| CMYK Values | (1%, 0%, 0%, 11%) |
| OKLCH (Modern CSS) | oklch(91.7% 0.002 197.1) |
| CIE-LAB (D65) | 90.44, -0.67, -0.24 |
| CIE XYZ | 73.11, 77.26, 84.44 |
| Decimal / Binary |
14869732
11100010 11100100 11100100 |
WCAG 2.1 Color Contrast & Accessibility
Check how #E2E4E4 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 #E2E4E4
Sample preview of readable typography on top of #E2E4E4.
Black Text on #E2E4E4
Sample preview of readable typography on top of #E2E4E4.
HTML / CSS Live Previews & Snippets for #E2E4E4
Preview #E2E4E4 in real UI elements and copy ready-to-use CSS rules.
background-color: #E2E4E4;
color: #E2E4E4;
border: 2px solid #E2E4E4;
:root {
--color-primary: #E2E4E4;
--color-primary-rgb: 226, 228, 228;
--color-complementary: #E4E2E2;
}
.btn-accent {
background-color: #E2E4E4;
color: #000000;
}
Hex #E2E4E4 Color Palettes
Complementary Palette
The complementary color of #E2E4E4 is #E4E2E2. 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 #E2E4E4 pairs with #E2E4E3 and #E2E3E4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #E2E4E4 pairs with #E4E3E2 and #E4E2E3, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #E2E4E4 uses #E4E4E2 and #E4E2E4, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #E2E4E4 combines #E4E2E4, #E4E2E2 and #E2E4E2 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #E2E4E4 pairs with #E3E2E4, #E4E2E2 and #E3E4E2 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #E2E4E4
Tints
Tints are created by mixing #E2E4E4 with white, producing lighter variations.
Shades
Shades result from mixing #E2E4E4 with black, creating deeper variations.
Hex #E2E4E4 in Programming & CSS Frameworks
Copy the exact syntax for #E2E4E4 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #E2E4E4 |
| Tailwind CSS | bg-[#E2E4E4] text-[#E2E4E4] |
| Java (AWT) | new Color(226,228,228); |
| Python | Color("#E2E4E4") |
| .NET (C#) | Color.FromArgb(255, 226,228,228); |
| Swift / iOS | UIColor(red: 0.89, green: 0.89, blue: 0.89, alpha: 1) |
| Kotlin / Android | Color.rgb(226, 228, 228) |