Skip to content

#c2cefc

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

RGB
194, 206, 252
HSL
228°, 91%, 88%
CMYK
23, 18, 0, 1
Luminance
0.6264

Every format

HEX#c2cefc
RGBrgb(194, 206, 252)
HSLhsl(228, 91%, 88%)
CMYKcmyk(23%, 18%, 0%, 1%)
LABlab(83.3 5.5 -23.9)
LCHlch(83.3 24.5 283.1)
OKLCHoklch(0.858 0.065 273.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cefc on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#c2cefc on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.8%
Blue98.8%

CMYK percentages

Cyan23.0%
Magenta18.3%
Yellow0.0%
Key (black)1.2%

Color previews

#c2cefc text on a black background

contrast 13.53:1

Card sample

#c2cefc text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cefc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cefc in the Color Lab