Skip to content

#c2ccf7

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

RGB
194, 204, 247
HSL
229°, 77%, 87%
CMYK
22, 17, 0, 3
Luminance
0.6137

Every format

HEX#c2ccf7
RGBrgb(194, 204, 247)
HSLhsl(229, 77%, 87%)
CMYKcmyk(22%, 17%, 0%, 3%)
LABlab(82.6 5.5 -22.2)
LCHlch(82.6 22.9 283.9)
OKLCHoklch(0.852 0.061 274.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ccf7 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#c2ccf7 on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.0%
Blue96.9%

CMYK percentages

Cyan21.5%
Magenta17.4%
Yellow0.0%
Key (black)3.1%

Color previews

#c2ccf7 text on a black background

contrast 13.27:1

Card sample

#c2ccf7 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ccf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ccf7 in the Color Lab