Skip to content

#def4fe

a pale, electric cyan · cool · closest name: lavender

RGB
222, 244, 254
HSL
199°, 94%, 93%
CMYK
13, 4, 0, 0
Luminance
0.8739

Every format

HEX#def4fe
RGBrgb(222, 244, 254)
HSLhsl(199, 94%, 93%)
CMYKcmyk(13%, 4%, 0%, 0%)
LABlab(94.9 -5.2 -7.3)
LCHlch(94.9 8.9 234.2)
OKLCHoklch(0.954 0.027 226.8)

Copy-ready code

/* CSS */
color: #def4fe;
background-color: #def4fe;
/* Tailwind (arbitrary) */
class="text-[#def4fe] bg-[#def4fe]"
/* SCSS */
$brand: #def4fe;
/* SwiftUI */
Color(red: 0.871, green: 0.957, blue: 0.996)
/* Android */
Color.parseColor("#def4fe")

Accessibility — WCAG contrast

Aa
#def4fe on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#def4fe on black: 18.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green95.7%
Blue99.6%

CMYK percentages

Cyan12.6%
Magenta3.9%
Yellow0.0%
Key (black)0.4%

Color previews

#def4fe text on a black background

contrast 18.48:1

Card sample

#def4fe text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #def4fe;
Background color
Panel with #def4fe background
background-color: #def4fe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #def4fe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(222, 244, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 244, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def4fe;
background: linear-gradient(135deg, #def4fe, #DEDEFE);

Monochromatic scale

Palettes built from #def4fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def4fe in the Color Lab