Skip to content

#def2fe

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

RGB
222, 242, 254
HSL
203°, 94%, 93%
CMYK
13, 5, 0, 0
Luminance
0.8619

Every format

HEX#def2fe
RGBrgb(222, 242, 254)
HSLhsl(203, 94%, 93%)
CMYKcmyk(13%, 5%, 0%, 0%)
LABlab(94.4 -4.2 -8.0)
LCHlch(94.4 9.0 242.2)
OKLCHoklch(0.950 0.027 234.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def2fe on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#def2fe on black: 18.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green94.9%
Blue99.6%

CMYK percentages

Cyan12.6%
Magenta4.7%
Yellow0.0%
Key (black)0.4%

Color previews

#def2fe text on a black background

contrast 18.24:1

Card sample

#def2fe text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def2fe in the Color Lab