Skip to content

#d4f2ff

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

RGB
212, 242, 255
HSL
198°, 100%, 92%
CMYK
17, 5, 0, 0
Luminance
0.8472

Every format

HEX#d4f2ff
RGBrgb(212, 242, 255)
HSLhsl(198, 100%, 92%)
CMYKcmyk(17%, 5%, 0%, 0%)
LABlab(93.8 -7.1 -9.5)
LCHlch(93.8 11.9 233.3)
OKLCHoklch(0.944 0.036 225.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green94.9%
Blue100.0%

CMYK percentages

Cyan16.9%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#d4f2ff text on a black background

contrast 17.94:1

Card sample

#d4f2ff text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4f2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4f2ff in the Color Lab