Skip to content

#d8f0fd

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

RGB
216, 240, 253
HSL
201°, 90%, 92%
CMYK
15, 5, 0, 1
Luminance
0.8401

Every format

HEX#d8f0fd
RGBrgb(216, 240, 253)
HSLhsl(201, 90%, 92%)
CMYKcmyk(15%, 5%, 0%, 1%)
LABlab(93.5 -5.3 -8.9)
LCHlch(93.5 10.3 239.4)
OKLCHoklch(0.942 0.031 231.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8f0fd on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#d8f0fd on black: 17.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green94.1%
Blue99.2%

CMYK percentages

Cyan14.6%
Magenta5.1%
Yellow0.0%
Key (black)0.8%

Color previews

#d8f0fd text on a black background

contrast 17.80:1

Card sample

#d8f0fd text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8f0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8f0fd in the Color Lab