Skip to content

#d7f2ff

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

RGB
215, 242, 255
HSL
200°, 100%, 92%
CMYK
16, 5, 0, 0
Luminance
0.8517

Every format

HEX#d7f2ff
RGBrgb(215, 242, 255)
HSLhsl(200, 100%, 92%)
CMYKcmyk(16%, 5%, 0%, 0%)
LABlab(94.0 -6.2 -9.2)
LCHlch(94.0 11.1 236.1)
OKLCHoklch(0.946 0.033 228.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green94.9%
Blue100.0%

CMYK percentages

Cyan15.7%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#d7f2ff text on a black background

contrast 18.03:1

Card sample

#d7f2ff text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7f2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7f2ff in the Color Lab