Skip to content

#c6cef2

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

RGB
198, 206, 242
HSL
229°, 63%, 86%
CMYK
18, 15, 0, 5
Luminance
0.6256

Every format

HEX#c6cef2
RGBrgb(198, 206, 242)
HSLhsl(229, 63%, 86%)
CMYKcmyk(18%, 15%, 0%, 5%)
LABlab(83.2 4.6 -18.6)
LCHlch(83.2 19.1 283.8)
OKLCHoklch(0.857 0.051 275.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red77.6%
Green80.8%
Blue94.9%

CMYK percentages

Cyan18.2%
Magenta14.9%
Yellow0.0%
Key (black)5.1%

Color previews

#c6cef2 text on a black background

contrast 13.51:1

Card sample

#c6cef2 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c6cef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c6cef2 in the Color Lab