What is hex #E2ECFF color?

 
The hex code #E2ECFF is closest to the named color Lavender (#E6E6FA).
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, 93% green and 100% blue, resulting in rgb(226, 236, 255) and hsl(219, 100%, 94%).
For print media and manufacturing layout, the CMYK equivalent is (11%, 7%, 0%, 0%).
In the HSV/HSB scale, #E2ECFF features a hue of 219°, 11% saturation, and 100% brightness.

Hex #E2ECFF Color Codes & Conversions

Closest Named Color
Lavender (#E6E6FA)
Hex Code #E2ECFF
Hex8 (RGBA Hex) #E2ECFFFF
RGB (CSS) rgb(226, 236, 255)
RGBA (CSS) rgba(226, 236, 255, 1)
HSL (CSS) hsl(219, 100%, 94%)
HSLA (CSS) hsla(219, 100%, 94%, 1)
HSV / HSB (219°, 11%, 100%)
CMYK Values (11%, 7%, 0%, 0%)
OKLCH (Modern CSS) oklch(94.1% 0.028 263.4)
CIE-LAB (D65) 93.18, 0.31, -10.29
CIE XYZ 79.41, 83.38, 106.50
Decimal / Binary 14871807
11100010 11101100 11111111

Closest Standards & Equivalents

Closest Web Safe
#CCFFFF
Inverse Color
#1D1300
Complementary Color
#FFF5E2
Closest Pantone®
Pantone 656 C
Closest RAL
RAL 9003 [Signal white]

#E2ECFF Grayscale Equivalents

Average
#EFEFEF
Lightness (Desaturation)
#F1F1F1
Weighted (BT601)
#EBEBEB
Luma (BT709)
#EBEBEB

WCAG 2.1 Color Contrast & Accessibility

Check how #E2ECFF 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 #E2ECFF

Sample preview of readable typography on top of #E2ECFF.

Contrast Ratio: 1.19:1
AA Fail AAA Fail

Black Text on #E2ECFF

Sample preview of readable typography on top of #E2ECFF.

Contrast Ratio: 17.68:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #E2ECFF

Preview #E2ECFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #E2ECFF;
Typography Color Preview
color: #E2ECFF;
Border & Shadow Preview
border: 2px solid #E2ECFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #E2ECFF;
  --color-primary-rgb: 226, 236, 255;
  --color-complementary: #FFF5E2;
}
.btn-accent {
  background-color: #E2ECFF;
  color: #000000;
}

Hex #E2ECFF Color Palettes

Complementary Palette

The complementary color of #E2ECFF is #FFF5E2. 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 #E2ECFF pairs with #E2FAFF and #E6E2FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #E2ECFF pairs with #FAFFE2 and #FFE6E2, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #E2ECFF uses #ECFFE2 and #FFE2EC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #E2ECFF combines #FFE2EC, #FFF5E2 and #E2FFF5 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #E2ECFF pairs with #FFE2FA, #FFF5E2 and #E2FFE6 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #E2ECFF

Tints

Tints are created by mixing #E2ECFF with white, producing lighter variations.

Tones

Tones are created by mixing #E2ECFF with gray, softening saturation.

Shades

Shades result from mixing #E2ECFF with black, creating deeper variations.

Hex #E2ECFF in Programming & CSS Frameworks

Copy the exact syntax for #E2ECFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #E2ECFF
Tailwind CSS bg-[#E2ECFF] text-[#E2ECFF]
Java (AWT) new Color(226,236,255);
Python Color("#E2ECFF")
.NET (C#) Color.FromArgb(255, 226,236,255);
Swift / iOS UIColor(red: 0.89, green: 0.93, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(226, 236, 255)