Skip to content

#dcf0f8

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

RGB
220, 240, 248
HSL
197°, 67%, 92%
CMYK
11, 3, 0, 3
Luminance
0.8431

Every format

HEX#dcf0f8
RGBrgb(220, 240, 248)
HSLhsl(197, 67%, 92%)
CMYKcmyk(11%, 3%, 0%, 3%)
LABlab(93.6 -5.0 -6.1)
LCHlch(93.6 7.9 230.6)
OKLCHoklch(0.943 0.024 223.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcf0f8 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#dcf0f8 on black: 17.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green94.1%
Blue97.3%

CMYK percentages

Cyan11.3%
Magenta3.2%
Yellow0.0%
Key (black)2.7%

Color previews

#dcf0f8 text on a black background

contrast 17.86:1

Card sample

#dcf0f8 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 240, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 240, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcf0f8;
background: linear-gradient(135deg, #dcf0f8, #DCDDF8);

Monochromatic scale

Palettes built from #dcf0f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcf0f8 in the Color Lab