Skip to content

#cef2f8

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

RGB
206, 242, 248
HSL
189°, 75%, 89%
CMYK
17, 2, 0, 3
Luminance
0.8340

Every format

HEX#cef2f8
RGBrgb(206, 242, 248)
HSLhsl(189, 75%, 89%)
CMYKcmyk(17%, 2%, 0%, 3%)
LABlab(93.2 -10.4 -6.8)
LCHlch(93.2 12.4 213.2)
OKLCHoklch(0.937 0.038 208.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef2f8 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cef2f8 on black: 17.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.9%
Blue97.3%

CMYK percentages

Cyan16.9%
Magenta2.4%
Yellow0.0%
Key (black)2.7%

Color previews

#cef2f8 text on a black background

contrast 17.68:1

Card sample

#cef2f8 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef2f8 in the Color Lab