Skip to content

#c2cef5

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

RGB
194, 206, 245
HSL
226°, 72%, 86%
CMYK
21, 16, 0, 4
Luminance
0.6220

Every format

HEX#c2cef5
RGBrgb(194, 206, 245)
HSLhsl(226, 72%, 86%)
CMYKcmyk(21%, 16%, 0%, 4%)
LABlab(83.0 4.0 -20.5)
LCHlch(83.0 20.9 281.0)
OKLCHoklch(0.855 0.056 271.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cef5 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#c2cef5 on black: 13.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.8%
Blue96.1%

CMYK percentages

Cyan20.8%
Magenta15.9%
Yellow0.0%
Key (black)3.9%

Color previews

#c2cef5 text on a black background

contrast 13.44:1

Card sample

#c2cef5 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 206, 245, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 206, 245, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cef5;
background: linear-gradient(135deg, #c2cef5, #D8C2F5);

Monochromatic scale

Palettes built from #c2cef5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cef5 in the Color Lab