Skip to content

#d8f2fe

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

RGB
216, 242, 254
HSL
199°, 95%, 92%
CMYK
15, 5, 0, 0
Luminance
0.8526

Every format

HEX#d8f2fe
RGBrgb(216, 242, 254)
HSLhsl(199, 95%, 92%)
CMYKcmyk(15%, 5%, 0%, 0%)
LABlab(94.0 -6.1 -8.6)
LCHlch(94.0 10.6 234.8)
OKLCHoklch(0.946 0.032 227.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.7%
Green94.9%
Blue99.6%

CMYK percentages

Cyan15.0%
Magenta4.7%
Yellow0.0%
Key (black)0.4%

Color previews

#d8f2fe text on a black background

contrast 18.05:1

Card sample

#d8f2fe text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8f2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8f2fe in the Color Lab