Skip to content

#def2f5

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

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

Every format

HEX#def2f5
RGBrgb(222, 242, 245)
HSLhsl(188, 54%, 92%)
CMYKcmyk(9%, 1%, 0%, 4%)
LABlab(94.2 -6.0 -3.7)
LCHlch(94.2 7.0 211.7)
OKLCHoklch(0.947 0.021 207.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def2f5 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#def2f5 on black: 18.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green94.9%
Blue96.1%

CMYK percentages

Cyan9.4%
Magenta1.2%
Yellow0.0%
Key (black)3.9%

Color previews

#def2f5 text on a black background

contrast 18.13:1

Card sample

#def2f5 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def2f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def2f5 in the Color Lab