Skip to content

#cef2ff

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

RGB
206, 242, 255
HSL
196°, 100%, 90%
CMYK
19, 5, 0, 0
Luminance
0.8385

Every format

HEX#cef2ff
RGBrgb(206, 242, 255)
HSLhsl(196, 100%, 90%)
CMYKcmyk(19%, 5%, 0%, 0%)
LABlab(93.4 -8.9 -10.1)
LCHlch(93.4 13.5 228.6)
OKLCHoklch(0.940 0.041 221.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef2ff on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cef2ff on black: 17.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.9%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cef2ff text on a black background

contrast 17.77:1

Card sample

#cef2ff text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef2ff in the Color Lab