Skip to content

#def2f9

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

RGB
222, 242, 249
HSL
196°, 69%, 92%
CMYK
11, 3, 0, 2
Luminance
0.8587

Every format

HEX#def2f9
RGBrgb(222, 242, 249)
HSLhsl(196, 69%, 92%)
CMYKcmyk(11%, 3%, 0%, 2%)
LABlab(94.3 -5.2 -5.6)
LCHlch(94.3 7.7 227.2)
OKLCHoklch(0.949 0.023 220.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green94.9%
Blue97.6%

CMYK percentages

Cyan10.8%
Magenta2.8%
Yellow0.0%
Key (black)2.4%

Color previews

#def2f9 text on a black background

contrast 18.17:1

Card sample

#def2f9 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def2f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def2f9 in the Color Lab