Skip to content

#c2cef9

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

RGB
194, 206, 249
HSL
227°, 82%, 87%
CMYK
22, 17, 0, 2
Luminance
0.6245

Every format

HEX#c2cef9
RGBrgb(194, 206, 249)
HSLhsl(227, 82%, 87%)
CMYKcmyk(22%, 17%, 0%, 2%)
LABlab(83.2 4.9 -22.4)
LCHlch(83.2 22.9 282.3)
OKLCHoklch(0.857 0.061 272.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green80.8%
Blue97.6%

CMYK percentages

Cyan22.1%
Magenta17.3%
Yellow0.0%
Key (black)2.4%

Color previews

#c2cef9 text on a black background

contrast 13.49:1

Card sample

#c2cef9 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cef9 in the Color Lab