Skip to content

#c2d2f8

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

RGB
194, 210, 248
HSL
222°, 79%, 87%
CMYK
22, 15, 0, 3
Luminance
0.6434

Every format

HEX#c2d2f8
RGBrgb(194, 210, 248)
HSLhsl(222, 79%, 87%)
CMYKcmyk(22%, 15%, 0%, 3%)
LABlab(84.1 2.5 -20.4)
LCHlch(84.1 20.6 277.1)
OKLCHoklch(0.864 0.056 267.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green82.4%
Blue97.3%

CMYK percentages

Cyan21.8%
Magenta15.3%
Yellow0.0%
Key (black)2.7%

Color previews

#c2d2f8 text on a black background

contrast 13.87:1

Card sample

#c2d2f8 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d2f8 in the Color Lab