Skip to content

#b2b2df

a light, soft blue · warm · closest name: lavender

RGB
178, 178, 223
HSL
240°, 41%, 79%
CMYK
20, 20, 0, 13
Luminance
0.4663

Every format

HEX#b2b2df
RGBrgb(178, 178, 223)
HSLhsl(240, 41%, 79%)
CMYKcmyk(20%, 20%, 0%, 13%)
LABlab(74.0 9.3 -22.5)
LCHlch(74.0 24.4 292.5)
OKLCHoklch(0.779 0.064 284.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2b2df on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#b2b2df on black: 10.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green69.8%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#b2b2df text on a black background

contrast 10.33:1

Card sample

#b2b2df text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 178, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 178, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2b2df;
background: linear-gradient(135deg, #b2b2df, #D0B2DF);

Monochromatic scale

Palettes built from #b2b2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2b2df in the Color Lab