Skip to content

#afb4df

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

RGB
175, 180, 223
HSL
234°, 43%, 78%
CMYK
22, 19, 0, 13
Luminance
0.4708

At a glance

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

Hex
#afb4df
Hue
234°
blue
Saturation
43%
soft
Lightness
78%
light
Brightness
87%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4708
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.42:1
Closest name
Light Steel Blue
ΔE2000 8.8
Where it sits
Hue234° of 360°
Saturation43%
Lightness78%
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#afb4df
RGBrgb(175, 180, 223)
HSLhsl(234, 43%, 78%)
CMYKcmyk(22%, 19%, 0%, 13%)
LABlab(74.2 7.3 -22.1)
LCHlch(74.2 23.3 288.2)
OKLCHoklch(0.781 0.061 279.7)
Decimal11515103
Display P3color(display-p3 0.686 0.706 0.875)

Copy-ready code

/* CSS */
color: #afb4df;
background-color: #afb4df;
/* Tailwind (arbitrary) */
class="text-[#afb4df] bg-[#afb4df]"
/* SCSS */
$brand: #afb4df;
/* SwiftUI */
Color(red: 0.686, green: 0.706, blue: 0.875)
/* Android */
Color.parseColor("#afb4df")
/* Flutter */
Color(0xFFAFB4DF)
/* Python / OpenCV (BGR) */
(223, 180, 175)

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

Accessibility — WCAG contrast

Aa
#afb4df on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#afb4df on black: 10.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A9B8E1
deuteranopia · #A6B5DE
tritanopia · #A4BCC2

Color scale — 50 to 950

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

#F5F5FA
#EBECF5
#D1D4EA
#afb4df
#878ECF
#5F69BF
#4651AF
#3A4392
#2F3675
#252A55
#171A35
Base = 300Lightest = 50 · #F5F5FADarkest = 950 · #171A35
:root {
  --brand-50: #F5F5FA;
  --brand-100: #EBECF5;
  --brand-200: #D1D4EA;
  --brand-300: #afb4df;
  --brand-400: #878ECF;
  --brand-500: #5F69BF;
  --brand-600: #4651AF;
  --brand-700: #3A4392;
  --brand-800: #2F3675;
  --brand-900: #252A55;
  --brand-950: #171A35;
  --brand: #afb4df;
  --brand-ink: #000000;
}

Colors that work with #afb4df

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#C5C8E8
Hairlines and dividers
Muted text#4B539B
Captions on the surface
Accent#957537
Second voice, not a rival
Dark variant#242A5B
Hover, pressed, headers
Light variant#EDEEF8
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 #afb4df

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#DFDAAF
Analogous left#AFCCDF
Analogous right#C2AFDF
Split-complement 1#DFC2AF
Split-complement 2#CCDFAF
Triadic 1#DFAFB4
Triadic 2#B4DFAF
Tetradic#DFAFCC

RGB percentages

Red68.6%
Green70.6%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta19.3%
Yellow0.0%
Key (black)12.5%

Color previews

#afb4df text on a black background

contrast 10.42:1

Card sample

#afb4df text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4df

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.

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

#afb4df, answered

What color is #afb4df?

#afb4df is a light soft blue, closest to Light Steel Blue (ΔE2000 8.8). It sits at 234° on the hue wheel with 43% saturation and 78% lightness, which reads as cool.

What is the RGB value of #afb4df?

rgb(175, 180, 223) — 175 red, 180 green and 223 blue out of 255, or 68.6% / 70.6% / 87.5% by channel.

Is #afb4df a light or a dark color?

It is a mid-tone. Relative luminance is 0.4708 and perceived brightness is 72%, so black text on it reaches 10.42:1.

Should I use black or white text on #afb4df?

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

What is the complementary color of #afb4df?

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

What colors go well with #afb4df?

For interface work: #F4F5FA as the surface, #C5C8E8 for borders, #4B539B for secondary text, #957537 as an accent and #242A5B for hover and pressed states. For a palette, the analogous pair #AFCCDF and #C2AFDF stays calm, while #DFDAAF is the loudest partner.

What is #afb4df in CMYK for printing?

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

Is #afb4df 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 #BBAFDF; nudged cooler, #AEC2E0.

Work with #afb4df in the Color Lab