Skip to content
Vectorlight.net

#b2dafe

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#b2dafe
RGB
178, 218, 254
HSL
208.42°, 97.44%, 84.71%
OKLCH
0.87 0.07 245.81
Names
—
Lists

Codes

FormatValue
HEX#b2dafe
RGBrgb(178 218 254)
HSLhsl(208.42 97.44% 84.71%)
OKLCHoklch(0.87 0.07 245.81)
CMYKcmyk(29.92% 14.17% 0% 0.39%)
Android#ffb2dafe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.46:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.35:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#b2dafe"
Gradient stop
<stop stop-color="#b2dafe"/>
CSS variable + fill
:root { --c: #b2dafe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #b2dafe;
background-color: #b2dafe;
bg-[#b2dafe]