Skip to content

#d9f1fc

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

RGB
217, 241, 252
HSL
199°, 85%, 92%
CMYK
14, 4, 0, 1
Luminance
0.8469

Every format

HEX#d9f1fc
RGBrgb(217, 241, 252)
HSLhsl(199, 85%, 92%)
CMYKcmyk(14%, 4%, 0%, 1%)
LABlab(93.8 -5.7 -8.0)
LCHlch(93.8 9.8 234.5)
OKLCHoklch(0.944 0.029 227.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.1%
Green94.5%
Blue98.8%

CMYK percentages

Cyan13.9%
Magenta4.4%
Yellow0.0%
Key (black)1.2%

Color previews

#d9f1fc text on a black background

contrast 17.94:1

Card sample

#d9f1fc text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 241, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 241, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9f1fc;
background: linear-gradient(135deg, #d9f1fc, #D9DAFC);

Monochromatic scale

Palettes built from #d9f1fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9f1fc in the Color Lab