Skip to content

#bafdf1

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

RGB
186, 253, 241
HSL
169°, 94%, 86%
CMYK
27, 0, 5, 1
Luminance
0.8704

Every format

HEX#bafdf1
RGBrgb(186, 253, 241)
HSLhsl(169, 94%, 86%)
CMYKcmyk(27%, 0%, 5%, 1%)
LABlab(94.8 -23.2 -1.0)
LCHlch(94.8 23.2 182.4)
OKLCHoklch(0.946 0.069 182.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafdf1 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#bafdf1 on black: 18.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.2%
Blue94.5%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow4.7%
Key (black)0.8%

Color previews

#bafdf1 text on a black background

contrast 18.41:1

Card sample

#bafdf1 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 253, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 253, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafdf1;
background: linear-gradient(135deg, #bafdf1, #BADCFD);

Monochromatic scale

Palettes built from #bafdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafdf1 in the Color Lab