Skip to content

#b5bafe

a pale, electric blue · cool · closest name: Light Steel Blue

RGB
181, 186, 254
HSL
236°, 97%, 85%
CMYK
29, 27, 0, 0
Luminance
0.5210

At a glance

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

Hex
#b5bafe
Hue
236°
blue
Saturation
97%
electric
Lightness
85%
pale
Brightness
100%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5210
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
11.42:1
Closest name
Light Steel Blue
ΔE2000 8.4
Where it sits
Hue236° of 360°
Saturation97%
Lightness85%
Temperature
Warm ← → Cool86% 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#b5bafe
RGBrgb(181, 186, 254)
HSLhsl(236, 97%, 85%)
CMYKcmyk(29%, 27%, 0%, 0%)
LABlab(77.3 13.1 -34.1)
LCHlch(77.3 36.5 291.0)
OKLCHoklch(0.809 0.096 280.8)
Decimal11909886
Display P3color(display-p3 0.710 0.729 0.996)

Copy-ready code

/* CSS */
color: #b5bafe;
background-color: #b5bafe;
/* Tailwind (arbitrary) */
class="text-[#b5bafe] bg-[#b5bafe]"
/* SCSS */
$brand: #b5bafe;
/* SwiftUI */
Color(red: 0.710, green: 0.729, blue: 0.996)
/* Android */
Color.parseColor("#b5bafe")
/* Flutter */
Color(0xFFB5BAFE)
/* Python / OpenCV (BGR) */
(254, 186, 181)

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 #b5bafe · 11.42:1
Use #000000AAA at every size.
Aa
White text · 1.84:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.42:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b5bafe as text scores 1.84:1 on white and 11.42:1 on black.

Accessibility — WCAG contrast

Aa
#b5bafe on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#b5bafe on black: 11.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A7C2FF
deuteranopia · #A3BDFC
tritanopia · #A3C6D2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b5bafe 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.

#F1F2FD
#E4E5FC
#b5bafe
#9098FD
#5964FD
#2231FC
#0314F1
#0310C9
#020DA1
#060E74
#040948
Base = 200Lightest = 50 · #F1F2FDDarkest = 950 · #040948
:root {
  --brand-50: #F1F2FD;
  --brand-100: #E4E5FC;
  --brand-200: #b5bafe;
  --brand-300: #9098FD;
  --brand-400: #5964FD;
  --brand-500: #2231FC;
  --brand-600: #0314F1;
  --brand-700: #0310C9;
  --brand-800: #020DA1;
  --brand-900: #060E74;
  --brand-950: #040948;
  --brand: #b5bafe;
  --brand-ink: #000000;
}

Colors that work with #b5bafe

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#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#CC8B00
Second voice, not a rival
Dark variant#020A7E
Hover, pressed, headers
Light variant#E6E8FF
Selected rows, tints
Dark surface#141524
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 #b5bafe

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#FEF9B5
Analogous left#B5DEFE
Analogous right#D5B5FE
Split-complement 1#FED5B5
Split-complement 2#DEFEB5
Triadic 1#FEB5BA
Triadic 2#BAFEB5
Tetradic#FEB5DE

RGB percentages

Red71.0%
Green72.9%
Blue99.6%

CMYK percentages

Cyan28.7%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#b5bafe text on a black background

contrast 11.42:1

Card sample

#b5bafe text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5bafe

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.

#b5bafe 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#b5bafe, answered

What color is #b5bafe?

#b5bafe is a pale electric blue, closest to Light Steel Blue (ΔE2000 8.4). It sits at 236° on the hue wheel with 97% saturation and 85% lightness, which reads as cool.

What is the RGB value of #b5bafe?

rgb(181, 186, 254) — 181 red, 186 green and 254 blue out of 255, or 71% / 72.9% / 99.6% by channel.

Is #b5bafe a light or a dark color?

It is a light color. Relative luminance is 0.5210 and perceived brightness is 76%, so black text on it reaches 11.42:1.

Should I use black or white text on #b5bafe?

Black. It scores 11.42:1 against #b5bafe, versus 1.84:1 for white — AAA at any size.

What is the complementary color of #b5bafe?

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

What colors go well with #b5bafe?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #CC8B00 as an accent and #020A7E for hover and pressed states. For a palette, the analogous pair #B5DEFE and #D5B5FE stays calm, while #FEF9B5 is the loudest partner.

What is #b5bafe in CMYK for printing?

cmyk(29%, 27%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #b5bafe warm or cool?

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

Work with #b5bafe in the Color Lab