Skip to content

#daf2fe

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

RGB
218, 242, 254
HSL
200°, 95%, 93%
CMYK
14, 5, 0, 0
Luminance
0.8557

Every format

HEX#daf2fe
RGBrgb(218, 242, 254)
HSLhsl(200, 95%, 93%)
CMYKcmyk(14%, 5%, 0%, 0%)
LABlab(94.1 -5.5 -8.4)
LCHlch(94.1 10.0 237.0)
OKLCHoklch(0.947 0.030 229.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green94.9%
Blue99.6%

CMYK percentages

Cyan14.2%
Magenta4.7%
Yellow0.0%
Key (black)0.4%

Color previews

#daf2fe text on a black background

contrast 18.11:1

Card sample

#daf2fe text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daf2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf2fe in the Color Lab