Skip to content

#c2d2fc

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

RGB
194, 210, 252
HSL
223°, 91%, 88%
CMYK
23, 17, 0, 1
Luminance
0.6459

Every format

HEX#c2d2fc
RGBrgb(194, 210, 252)
HSLhsl(223, 91%, 88%)
CMYKcmyk(23%, 17%, 0%, 1%)
LABlab(84.3 3.4 -22.3)
LCHlch(84.3 22.6 278.7)
OKLCHoklch(0.866 0.061 268.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d2fc on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#c2d2fc on black: 13.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green82.4%
Blue98.8%

CMYK percentages

Cyan23.0%
Magenta16.7%
Yellow0.0%
Key (black)1.2%

Color previews

#c2d2fc text on a black background

contrast 13.92:1

Card sample

#c2d2fc text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d2fc in the Color Lab