More
More
#DFDDF2 colour
#DFDDF2 is a very light muted blue close to CSS lavender. RGB 223, 221, 242, HSL 246, 45%, 91%. Black text passes AAA (15.76:1), white fails (1.33:1).
- Nearest CSS name
lavender#e6e6fa (not an exact match)- Described as
- a very light muted blue
- Red, green, blue
- 223, 221, 242
- Web safe
- No
- Luminance
- 0.7381 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #dfddf2 | |
|---|---|---|
| RGB | rgb(223, 221, 242) | |
| RGB (percent) | rgb(87.5% 86.7% 94.9%) | |
| HSL | hsl(245.7, 44.7%, 90.8%) | |
| HSV / HSB | hsv(245.7, 8.7%, 94.9%) | |
| HWB | hwb(245.7 86.7% 5.1%) | |
| CMYK (naive) | cmyk(8%, 9%, 0%, 5%) | |
| CIELAB (D50) | lab(88.75% 3.63 -10.03) | |
| OKLCH | oklch(90.54% 0.0285 290.19) | |
| Decimal | 14671346 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 1.33:1 | Fail | Fail | Fail | Fail |
| Black | 15.76:1 | Pass | Pass | Pass | Pass |
Black text is the better choice on #DFDDF2 (15.76:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #dfddf2; | |
|---|---|---|
| Background | background-color: #dfddf2; | |
| Border | border: 1px solid #dfddf2; | |
| Half transparent | background-color: rgb(223 221 242 / 50%); | |
| Custom property | --colour-main: #dfddf2; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #dfddf2, #868591); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #ecebf7, #dfddf2); | |
| Text on this colour | background-color: #dfddf2; color: #000; |
Similar named colours
lavender#e6e6fa, distance 2.6gainsboro#dcdcdc, distance 3.1lightgray#d3d3d3, distance 4.8mistyrose#ffe4e1, distance 5.5powderblue#b0e0e6, distance 6.3lavenderblush#fff0f5, distance 6.8#f0f2ddComplement of #DFDDF2
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #DFDDF2 to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.