Skip to content

#cfd9f2

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

RGB
207, 217, 242
HSL
223°, 57%, 88%
CMYK
15, 10, 0, 5
Luminance
0.6930

Every format

HEX#cfd9f2
RGBrgb(207, 217, 242)
HSLhsl(223, 57%, 88%)
CMYKcmyk(15%, 10%, 0%, 5%)
LABlab(86.7 1.6 -13.3)
LCHlch(86.7 13.4 276.7)
OKLCHoklch(0.885 0.036 268.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfd9f2 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#cfd9f2 on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.1%
Blue94.9%

CMYK percentages

Cyan14.5%
Magenta10.3%
Yellow0.0%
Key (black)5.1%

Color previews

#cfd9f2 text on a black background

contrast 14.86:1

Card sample

#cfd9f2 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfd9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfd9f2 in the Color Lab