Skip to content

#cfd5f2

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

RGB
207, 213, 242
HSL
230°, 57%, 88%
CMYK
15, 12, 0, 5
Luminance
0.6726

Every format

HEX#cfd5f2
RGBrgb(207, 213, 242)
HSLhsl(230, 57%, 88%)
CMYKcmyk(15%, 12%, 0%, 5%)
LABlab(85.6 3.7 -14.9)
LCHlch(85.6 15.3 283.8)
OKLCHoklch(0.877 0.041 276.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfd5f2 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#cfd5f2 on black: 14.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green83.5%
Blue94.9%

CMYK percentages

Cyan14.5%
Magenta12.0%
Yellow0.0%
Key (black)5.1%

Color previews

#cfd5f2 text on a black background

contrast 14.45:1

Card sample

#cfd5f2 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfd5f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfd5f2 in the Color Lab