Skip to content

#bac9eb

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

RGB
186, 201, 235
HSL
222°, 55%, 83%
CMYK
21, 15, 0, 8
Luminance
0.5821

Every format

HEX#bac9eb
RGBrgb(186, 201, 235)
HSLhsl(222, 55%, 83%)
CMYKcmyk(21%, 15%, 0%, 8%)
LABlab(80.8 2.0 -18.5)
LCHlch(80.8 18.6 276.2)
OKLCHoklch(0.836 0.051 266.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac9eb on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#bac9eb on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.8%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta14.5%
Yellow0.0%
Key (black)7.8%

Color previews

#bac9eb text on a black background

contrast 12.64:1

Card sample

#bac9eb text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac9eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac9eb in the Color Lab