Skip to content

#bafdf5

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

RGB
186, 253, 245
HSL
173°, 94%, 86%
CMYK
27, 0, 3, 1
Luminance
0.8728

Every format

HEX#bafdf5
RGBrgb(186, 253, 245)
HSLhsl(173, 94%, 86%)
CMYKcmyk(27%, 0%, 3%, 1%)
LABlab(94.9 -22.4 -2.9)
LCHlch(94.9 22.5 187.4)
OKLCHoklch(0.947 0.068 186.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green99.2%
Blue96.1%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow3.2%
Key (black)0.8%

Color previews

#bafdf5 text on a black background

contrast 18.46:1

Card sample

#bafdf5 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafdf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafdf5 in the Color Lab