Skip to content

#bafdf2

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

RGB
186, 253, 242
HSL
170°, 94%, 86%
CMYK
27, 0, 4, 1
Luminance
0.8710

Every format

HEX#bafdf2
RGBrgb(186, 253, 242)
HSLhsl(170, 94%, 86%)
CMYKcmyk(27%, 0%, 4%, 1%)
LABlab(94.8 -23.0 -1.5)
LCHlch(94.8 23.0 183.7)
OKLCHoklch(0.946 0.068 183.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#bafdf2 text on a black background

contrast 18.42:1

Card sample

#bafdf2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafdf2 in the Color Lab