What is hex #D8DEF2 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 85% red, 87% green and 95% blue, resulting in rgb(216, 222, 242) and hsl(226, 50%, 90%).
For print media and manufacturing layout, the CMYK equivalent is (11%, 8%, 0%, 5%).
In the HSV/HSB scale, #D8DEF2 features a hue of 226°, 11% saturation, and 95% brightness.
Hex #D8DEF2 Color Codes & Conversions
| Closest Named Color | Azure Ish White (#DBE9F4) |
| Hex Code | #D8DEF2 |
| Hex8 (RGBA Hex) | #D8DEF2FF |
| RGB (CSS) | rgb(216, 222, 242) |
| RGBA (CSS) | rgba(216, 222, 242, 1) |
| HSL (CSS) | hsl(226, 50%, 90%) |
| HSLA (CSS) | hsla(226, 50%, 90%, 1) |
| HSV / HSB | (226°, 11%, 95%) |
| CMYK Values | (11%, 8%, 0%, 5%) |
| OKLCH (Modern CSS) | oklch(90.2% 0.028 272.5) |
| CIE-LAB (D65) | 88.57, 1.81, -10.43 |
| CIE XYZ | 70.46, 73.25, 94.41 |
| Decimal / Binary |
14212850
11011000 11011110 11110010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #D8DEF2 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 #D8DEF2
Sample preview of readable typography on top of #D8DEF2.
Black Text on #D8DEF2
Sample preview of readable typography on top of #D8DEF2.
HTML / CSS Live Previews & Snippets for #D8DEF2
Preview #D8DEF2 in real UI elements and copy ready-to-use CSS rules.
background-color: #D8DEF2;
color: #D8DEF2;
border: 2px solid #D8DEF2;
:root {
--color-primary: #D8DEF2;
--color-primary-rgb: 216, 222, 242;
--color-complementary: #F2ECD8;
}
.btn-accent {
background-color: #D8DEF2;
color: #000000;
}
Hex #D8DEF2 Color Palettes
Complementary Palette
The complementary color of #D8DEF2 is #F2ECD8. 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 #D8DEF2 pairs with #D8EBF2 and #DFD8F2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D8DEF2 pairs with #EBF2D8 and #F2DFD8, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D8DEF2 uses #DEF2D8 and #F2D8DE, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D8DEF2 combines #F2D8DE, #F2ECD8 and #D8F2EC around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D8DEF2 pairs with #F2D8EB, #F2ECD8 and #D8F2DF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D8DEF2
Tints
Tints are created by mixing #D8DEF2 with white, producing lighter variations.
Tones
Tones are created by mixing #D8DEF2 with gray, softening saturation.
Shades
Shades result from mixing #D8DEF2 with black, creating deeper variations.
Hex #D8DEF2 in Programming & CSS Frameworks
Copy the exact syntax for #D8DEF2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D8DEF2 |
| Tailwind CSS | bg-[#D8DEF2] text-[#D8DEF2] |
| Java (AWT) | new Color(216,222,242); |
| Python | Color("#D8DEF2") |
| .NET (C#) | Color.FromArgb(255, 216,222,242); |
| Swift / iOS | UIColor(red: 0.85, green: 0.87, blue: 0.95, alpha: 1) |
| Kotlin / Android | Color.rgb(216, 222, 242) |