Skip to content

#b3baf0

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

RGB
179, 186, 240
HSL
233°, 67%, 82%
CMYK
25, 23, 0, 6
Luminance
0.5099

Every format

HEX#b3baf0
RGBrgb(179, 186, 240)
HSLhsl(233, 67%, 82%)
CMYKcmyk(25%, 23%, 0%, 6%)
LABlab(76.7 9.2 -27.6)
LCHlch(76.7 29.1 288.3)
OKLCHoklch(0.802 0.077 278.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3baf0 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#b3baf0 on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green72.9%
Blue94.1%

CMYK percentages

Cyan25.4%
Magenta22.5%
Yellow0.0%
Key (black)5.9%

Color previews

#b3baf0 text on a black background

contrast 11.20:1

Card sample

#b3baf0 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3baf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3baf0 in the Color Lab