Skip to content

#b1affc

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

RGB
177, 175, 252
HSL
242°, 93%, 84%
CMYK
30, 31, 0, 1
Luminance
0.4704

At a glance

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

Hex
#b1affc
Hue
242°
blue
Saturation
93%
electric
Lightness
84%
light
Brightness
99%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4704
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
10.41:1
Closest name
Light Steel Blue
ΔE2000 9.3
Where it sits
Hue242° of 360°
Saturation93%
Lightness84%
Temperature
Warm ← → Cool82% 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#b1affc
RGBrgb(177, 175, 252)
HSLhsl(242, 93%, 84%)
CMYKcmyk(30%, 31%, 0%, 1%)
LABlab(74.2 17.5 -37.9)
LCHlch(74.2 41.7 294.8)
OKLCHoklch(0.784 0.109 284.8)
Decimal11644924
Display P3color(display-p3 0.694 0.686 0.988)

Copy-ready code

/* CSS */
color: #b1affc;
background-color: #b1affc;
/* Tailwind (arbitrary) */
class="text-[#b1affc] bg-[#b1affc]"
/* SCSS */
$brand: #b1affc;
/* SwiftUI */
Color(red: 0.694, green: 0.686, blue: 0.988)
/* Android */
Color.parseColor("#b1affc")
/* Flutter */
Color(0xFFB1AFFC)
/* Python / OpenCV (BGR) */
(252, 175, 177)

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

Accessibility — WCAG contrast

Aa
#b1affc on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#b1affc on black: 10.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #99B9FF
deuteranopia · #97B4FA
tritanopia · #9FBDCB

Color scale — 50 to 950

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

#F2F2FD
#E5E4FB
#b1affc
#9693FB
#615DF9
#2C27F7
#0F09EC
#0C07C5
#0A069D
#0C0971
#070647
Base = 200Lightest = 50 · #F2F2FDDarkest = 950 · #070647
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E5E4FB;
  --brand-200: #b1affc;
  --brand-300: #9693FB;
  --brand-400: #615DF9;
  --brand-500: #2C27F7;
  --brand-600: #0F09EC;
  --brand-700: #0C07C5;
  --brand-800: #0A069D;
  --brand-900: #0C0971;
  --brand-950: #070647;
  --brand: #b1affc;
  --brand-ink: #000000;
}

Colors that work with #b1affc

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#F4F4FA
Tinted page background
Border#C1C0ED
Hairlines and dividers
Muted text#4D4B9B
Captions on the surface
Accent#CA9D02
Second voice, not a rival
Dark variant#08057B
Hover, pressed, headers
Light variant#E7E6FE
Selected rows, tints
Dark surface#141424
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 #b1affc

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#FAFCAF
Analogous left#AFD3FC
Analogous right#D7AFFC
Split-complement 1#FCD7AF
Split-complement 2#D3FCAF
Triadic 1#FCB1AF
Triadic 2#AFFCB1
Tetradic#FCAFD3

RGB percentages

Red69.4%
Green68.6%
Blue98.8%

CMYK percentages

Cyan29.8%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#b1affc text on a black background

contrast 10.41:1

Card sample

#b1affc text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 175, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 175, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1affc;
background: linear-gradient(135deg, #b1affc, #E4AFFC);

Monochromatic scale

Palettes built from #b1affc

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.

#b1affc 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.

#b1affc, answered

What color is #b1affc?

#b1affc is a light electric blue, closest to Light Steel Blue (ΔE2000 9.3). It sits at 242° on the hue wheel with 93% saturation and 84% lightness, which reads as cool.

What is the RGB value of #b1affc?

rgb(177, 175, 252) — 177 red, 175 green and 252 blue out of 255, or 69.4% / 68.6% / 98.8% by channel.

Is #b1affc a light or a dark color?

It is a mid-tone. Relative luminance is 0.4704 and perceived brightness is 73%, so black text on it reaches 10.41:1.

Should I use black or white text on #b1affc?

Black. It scores 10.41:1 against #b1affc, versus 2.02:1 for white — AAA at any size.

What is the complementary color of #b1affc?

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

What colors go well with #b1affc?

For interface work: #F4F4FA as the surface, #C1C0ED for borders, #4D4B9B for secondary text, #CA9D02 as an accent and #08057B for hover and pressed states. For a palette, the analogous pair #AFD3FC and #D7AFFC stays calm, while #FAFCAF is the loudest partner.

What is #b1affc in CMYK for printing?

cmyk(30%, 31%, 0%, 1%). 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 #b1affc warm or cool?

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

Work with #b1affc in the Color Lab