Skip to content

#d7f2fe

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

RGB
215, 242, 254
HSL
199°, 95%, 92%
CMYK
15, 5, 0, 0
Luminance
0.8511

Every format

HEX#d7f2fe
RGBrgb(215, 242, 254)
HSLhsl(199, 95%, 92%)
CMYKcmyk(15%, 5%, 0%, 0%)
LABlab(93.9 -6.4 -8.7)
LCHlch(93.9 10.8 233.8)
OKLCHoklch(0.945 0.033 226.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green94.9%
Blue99.6%

CMYK percentages

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

Color previews

#d7f2fe text on a black background

contrast 18.02:1

Card sample

#d7f2fe text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7f2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7f2fe in the Color Lab