Skip to content

#bac2eb

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

RGB
186, 194, 235
HSL
230°, 55%, 83%
CMYK
21, 17, 0, 8
Luminance
0.5502

Every format

HEX#bac2eb
RGBrgb(186, 194, 235)
HSLhsl(230, 55%, 83%)
CMYKcmyk(21%, 17%, 0%, 8%)
LABlab(79.0 5.8 -21.2)
LCHlch(79.0 22.0 285.2)
OKLCHoklch(0.822 0.058 276.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac2eb on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#bac2eb on black: 12.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.1%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta17.4%
Yellow0.0%
Key (black)7.8%

Color previews

#bac2eb text on a black background

contrast 12.00:1

Card sample

#bac2eb text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac2eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac2eb in the Color Lab