Skip to content

#c2cef7

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

RGB
194, 206, 247
HSL
226°, 77%, 87%
CMYK
22, 17, 0, 3
Luminance
0.6233

Every format

HEX#c2cef7
RGBrgb(194, 206, 247)
HSLhsl(226, 77%, 87%)
CMYKcmyk(22%, 17%, 0%, 3%)
LABlab(83.1 4.4 -21.5)
LCHlch(83.1 21.9 281.7)
OKLCHoklch(0.856 0.059 272.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan21.5%
Magenta16.6%
Yellow0.0%
Key (black)3.1%

Color previews

#c2cef7 text on a black background

contrast 13.47:1

Card sample

#c2cef7 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cef7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cef7 in the Color Lab