Skip to content

#d7e2f2

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

RGB
215, 226, 242
HSL
216°, 51%, 90%
CMYK
11, 7, 0, 5
Luminance
0.7525

Every format

HEX#d7e2f2
RGBrgb(215, 226, 242)
HSLhsl(216, 51%, 90%)
CMYKcmyk(11%, 7%, 0%, 5%)
LABlab(89.5 -0.6 -9.0)
LCHlch(89.5 9.1 266.3)
OKLCHoklch(0.909 0.025 257.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7e2f2 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#d7e2f2 on black: 16.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green88.6%
Blue94.9%

CMYK percentages

Cyan11.2%
Magenta6.6%
Yellow0.0%
Key (black)5.1%

Color previews

#d7e2f2 text on a black background

contrast 16.05:1

Card sample

#d7e2f2 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7e2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7e2f2 in the Color Lab