Skip to content

#c2cefb

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

RGB
194, 206, 251
HSL
227°, 88%, 87%
CMYK
23, 18, 0, 2
Luminance
0.6258

Every format

HEX#c2cefb
RGBrgb(194, 206, 251)
HSLhsl(227, 88%, 87%)
CMYKcmyk(23%, 18%, 0%, 2%)
LABlab(83.2 5.3 -23.4)
LCHlch(83.2 24.0 282.8)
OKLCHoklch(0.857 0.064 273.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan22.7%
Magenta17.9%
Yellow0.0%
Key (black)1.6%

Color previews

#c2cefb text on a black background

contrast 13.52:1

Card sample

#c2cefb text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cefb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cefb in the Color Lab