Skip to content

#def5f2

a pale, vivid cyan · cool · closest name: white

RGB
222, 245, 242
HSL
172°, 54%, 92%
CMYK
9, 0, 1, 4
Luminance
0.8725

Every format

HEX#def5f2
RGBrgb(222, 245, 242)
HSLhsl(172, 54%, 92%)
CMYKcmyk(9%, 0%, 1%, 4%)
LABlab(94.8 -8.1 -1.1)
LCHlch(94.8 8.1 187.9)
OKLCHoklch(0.953 0.024 187.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.1%
Blue94.9%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow1.2%
Key (black)3.9%

Color previews

#def5f2 text on a black background

contrast 18.45:1

Card sample

#def5f2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def5f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def5f2 in the Color Lab