Skip to content

#c2d2f7

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

RGB
194, 210, 247
HSL
222°, 77%, 87%
CMYK
22, 15, 0, 3
Luminance
0.6428

Every format

HEX#c2d2f7
RGBrgb(194, 210, 247)
HSLhsl(222, 77%, 87%)
CMYKcmyk(22%, 15%, 0%, 3%)
LABlab(84.1 2.3 -19.9)
LCHlch(84.1 20.0 276.6)
OKLCHoklch(0.864 0.054 266.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d2f7 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#c2d2f7 on black: 13.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green82.4%
Blue96.9%

CMYK percentages

Cyan21.5%
Magenta15.0%
Yellow0.0%
Key (black)3.1%

Color previews

#c2d2f7 text on a black background

contrast 13.86:1

Card sample

#c2d2f7 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d2f7 in the Color Lab