Skip to content

#def0f7

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

RGB
222, 240, 247
HSL
197°, 61%, 92%
CMYK
10, 3, 0, 3
Luminance
0.8457

Every format

HEX#def0f7
RGBrgb(222, 240, 247)
HSLhsl(197, 61%, 92%)
CMYKcmyk(10%, 3%, 0%, 3%)
LABlab(93.7 -4.6 -5.4)
LCHlch(93.7 7.1 229.8)
OKLCHoklch(0.944 0.021 223.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def0f7 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#def0f7 on black: 17.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan10.1%
Magenta2.8%
Yellow0.0%
Key (black)3.1%

Color previews

#def0f7 text on a black background

contrast 17.91:1

Card sample

#def0f7 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def0f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def0f7 in the Color Lab