Palettes / Colors / #DEF2FF
#DEF2FF — Pale Vivid Blue
#DEF2FF is a blue color we call Pale Vivid Blue, closest to the named color Lavender (#E6E6FA). It belongs to the blue family.
Color name
Closest CSS keyword: lavender (#E6E6FA) — not an exact match. CSS lavender gives you #E6E6FA, a different color; use #DEF2FF when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#DEF2FF is a cool blue color associated with trust, calm and professionalism. It is light enough to work as a background or base color, with darker text on top.
Its strongest partner is its complement #FFEDE0; it also sits naturally between #E0FFFC and #E0E3FF. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #DEF2FF |
|---|---|
| RGB | 222, 242, 255 |
| HSL | 204°, 100%, 94% |
| HSV | 204°, 13%, 100% |
| CMYK | 13%, 5%, 0%, 0% |
| XYZ | 79.93, 86.25, 107.04 |
| Yxy | 86.25, 0.2925, 0.3157 |
| CIE-Lab | 94.42, -4.01, -8.49 |
| Hunter Lab | 92.87, -4.01, -8.70 |
RGB & CMYK percentages
Red 87% · Green 95% · Blue 100%
Cyan 13% · Magenta 5% · Yellow 0% · Key 0%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #DEF2FF
.text { color: #DEF2FF; }
.background { background-color: #DEF2FF; }
.border { border: 3px solid #DEF2FF; }
.text-rgb { color: rgb(222, 242, 255); }
.text-hsl { color: hsl(204, 100%, 94%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DEF2FF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(222, 242, 255, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DEF2FF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(222, 242, 255, 0.8); }
HTML: <p style="color:#DEF2FF">Text here</p> · <div style="background-color:#DEF2FF">Div content here</div>
Shades of #DEF2FF
Tints of #DEF2FF
Tones of #DEF2FF
Color harmonies
Complementary — #FFEDE0:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 1.15:1 Fails |
|---|---|
| Against black text | 18.25:1 AAA |
Best text color on #DEF2FF: #000000.
Semi-transparent (opacity) text on #DEF2FF
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #DEF2FF: ·
How #DEF2FF looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #DEF2FF rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #DEF2FF?
#DEF2FF is Pale Vivid Blue, a blue color (RGB 222, 242, 255). Its closest standard named color is Lavender.
What is the RGB and HSL of #DEF2FF?
#DEF2FF is RGB 222, 242, 255 — HSL 204°, 100%, 94% — CMYK 13%, 5%, 0%, 0%.
What colors go with #DEF2FF?
Its complement is #FFEDE0; analogous partners are #E0FFFC and #E0E3FF. It also appears in 6+ palettes in our collection.
Can I use #DEF2FF for text?
Black text on #DEF2FF has a contrast ratio of 18.25:1 (passes WCAG AA); white text gives 1.15:1.