Skip to content

#b2baf3

a light, vivid blue · cool · closest name: Light Steel Blue

RGB
178, 186, 243
HSL
233°, 73%, 83%
CMYK
27, 24, 0, 5
Luminance
0.5105

At a glance

Every number on this page in one read: what #b2baf3 is made of, how bright it looks, and which way it leans.

Hex
#b2baf3
Hue
233°
blue
Saturation
73%
vivid
Lightness
83%
light
Brightness
95%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5105
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
11.21:1
Closest name
Light Steel Blue
ΔE2000 8.2
Where it sits
Hue233° of 360°
Saturation73%
Lightness83%
Temperature
Warm ← → Cool87% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b2baf3
RGBrgb(178, 186, 243)
HSLhsl(233, 73%, 83%)
CMYKcmyk(27%, 24%, 0%, 5%)
LABlab(76.7 9.6 -29.1)
LCHlch(76.7 30.7 288.2)
OKLCHoklch(0.803 0.081 278.2)
Decimal11713267
Display P3color(display-p3 0.698 0.729 0.953)

Copy-ready code

/* CSS */
color: #b2baf3;
background-color: #b2baf3;
/* Tailwind (arbitrary) */
class="text-[#b2baf3] bg-[#b2baf3]"
/* SCSS */
$brand: #b2baf3;
/* SwiftUI */
Color(red: 0.698, green: 0.729, blue: 0.953)
/* Android */
Color.parseColor("#b2baf3")
/* Flutter */
Color(0xFFB2BAF3)
/* Python / OpenCV (BGR) */
(243, 186, 178)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #b2baf3 · 11.21:1
Use #000000AAA at every size.
Aa
White text · 1.87:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.21:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b2baf3 as text scores 1.87:1 on white and 11.21:1 on black.

Accessibility — WCAG contrast

Aa
#b2baf3 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#b2baf3 on black: 11.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AAC0F6
deuteranopia · #A6BBF2
tritanopia · #A2C4CE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2baf3 is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F4FC
#E7E9F8
#b2baf3
#9EA8F0
#6D7DE8
#3D51E1
#2137D4
#1C2EB0
#16258D
#141E66
#0D1340
Base = 200Lightest = 50 · #F3F4FCDarkest = 950 · #0D1340
:root {
  --brand-50: #F3F4FC;
  --brand-100: #E7E9F8;
  --brand-200: #b2baf3;
  --brand-300: #9EA8F0;
  --brand-400: #6D7DE8;
  --brand-500: #3D51E1;
  --brand-600: #2137D4;
  --brand-700: #1C2EB0;
  --brand-800: #16258D;
  --brand-900: #141E66;
  --brand-950: #0D1340;
  --brand: #b2baf3;
  --brand-ink: #000000;
}

Colors that work with #b2baf3

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F5FA
Tinted page background
Border#C0C5ED
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#B57917
Second voice, not a rival
Dark variant#111D6E
Hover, pressed, headers
Light variant#E9EBFC
Selected rows, tints
Dark surface#141624
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #b2baf3

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#F3EBB2
Analogous left#B2DAF3
Analogous right#CAB2F3
Split-complement 1#F3CAB2
Split-complement 2#DAF3B2
Triadic 1#F3B2BA
Triadic 2#BAF3B2
Tetradic#F3B2DA

RGB percentages

Red69.8%
Green72.9%
Blue95.3%

CMYK percentages

Cyan26.7%
Magenta23.5%
Yellow0.0%
Key (black)4.7%

Color previews

#b2baf3 text on a black background

contrast 11.21:1

Card sample

#b2baf3 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2baf3

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#b2baf3 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#b2baf3, answered

What color is #b2baf3?

#b2baf3 is a light vivid blue, closest to Light Steel Blue (ΔE2000 8.2). It sits at 233° on the hue wheel with 73% saturation and 83% lightness, which reads as cool.

What is the RGB value of #b2baf3?

rgb(178, 186, 243) — 178 red, 186 green and 243 blue out of 255, or 69.8% / 72.9% / 95.3% by channel.

Is #b2baf3 a light or a dark color?

It is a light color. Relative luminance is 0.5105 and perceived brightness is 75%, so black text on it reaches 11.21:1.

Should I use black or white text on #b2baf3?

Black. It scores 11.21:1 against #b2baf3, versus 1.87:1 for white — AAA at any size.

What is the complementary color of #b2baf3?

#F3EBB2 sits directly opposite on the wheel. Softer options are the split-complements #F3CAB2 and #DAF3B2, which give the same contrast with far less vibration.

What colors go well with #b2baf3?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B549B for secondary text, #B57917 as an accent and #111D6E for hover and pressed states. For a palette, the analogous pair #B2DAF3 and #CAB2F3 stays calm, while #F3EBB2 is the loudest partner.

What is #b2baf3 in CMYK for printing?

cmyk(27%, 24%, 0%, 5%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #b2baf3 warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C2B2F3; nudged cooler, #B1CBF4.

Work with #b2baf3 in the Color Lab