Skip to content

#afb2d1

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

RGB
175, 178, 209
HSL
235°, 27%, 75%
CMYK
16, 15, 0, 18
Luminance
0.4556

At a glance

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

Hex
#afb2d1
Hue
235°
blue
Saturation
27%
soft
Lightness
75%
light
Brightness
82%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4556
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.11:1
Closest name
Light Steel Blue
ΔE2000 8.7
Where it sits
Hue235° of 360°
Saturation27%
Lightness75%
Temperature
Warm ← → Cool78% 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#afb2d1
RGBrgb(175, 178, 209)
HSLhsl(235, 27%, 75%)
CMYKcmyk(16%, 15%, 0%, 18%)
LABlab(73.3 5.3 -16.0)
LCHlch(73.3 16.8 288.2)
OKLCHoklch(0.771 0.044 280.9)
Decimal11514577
Display P3color(display-p3 0.686 0.698 0.820)

Copy-ready code

/* CSS */
color: #afb2d1;
background-color: #afb2d1;
/* Tailwind (arbitrary) */
class="text-[#afb2d1] bg-[#afb2d1]"
/* SCSS */
$brand: #afb2d1;
/* SwiftUI */
Color(red: 0.686, green: 0.698, blue: 0.820)
/* Android */
Color.parseColor("#afb2d1")
/* Flutter */
Color(0xFFAFB2D1)
/* Python / OpenCV (BGR) */
(209, 178, 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 #afb2d1 · 10.11:1
Use #000000AAA at every size.
Aa
White text · 2.08:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.11:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #afb2d1 as text scores 2.08:1 on white and 10.11:1 on black.

Accessibility — WCAG contrast

Aa
#afb2d1 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#afb2d1 on black: 10.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AAB5D2
deuteranopia · #A9B3D0
tritanopia · #A8B7BC

Color scale — 50 to 950

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

#F6F6F9
#ECEDF3
#D6D7E6
#afb2d1
#9498C2
#7176AD
#595F9B
#4A4F82
#3C3F68
#2E314C
#1D1E30
Base = 300Lightest = 50 · #F6F6F9Darkest = 950 · #1D1E30
:root {
  --brand-50: #F6F6F9;
  --brand-100: #ECEDF3;
  --brand-200: #D6D7E6;
  --brand-300: #afb2d1;
  --brand-400: #9498C2;
  --brand-500: #7176AD;
  --brand-600: #595F9B;
  --brand-700: #4A4F82;
  --brand-800: #3C3F68;
  --brand-900: #2E314C;
  --brand-950: #1D1E30;
  --brand: #afb2d1;
  --brand-ink: #000000;
}

Colors that work with #afb2d1

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#F5F6F9
Tinted page background
Border#CBCDE1
Hairlines and dividers
Muted text#545992
Captions on the surface
Accent#867046
Second voice, not a rival
Dark variant#2F3251
Hover, pressed, headers
Light variant#EFEFF6
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 #afb2d1

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#D1CEAF
Analogous left#AFC3D1
Analogous right#BDAFD1
Split-complement 1#D1BDAF
Split-complement 2#C3D1AF
Triadic 1#D1AFB2
Triadic 2#B2D1AF
Tetradic#D1AFC3

RGB percentages

Red68.6%
Green69.8%
Blue82.0%

CMYK percentages

Cyan16.3%
Magenta14.8%
Yellow0.0%
Key (black)18.0%

Color previews

#afb2d1 text on a black background

contrast 10.11:1

Card sample

#afb2d1 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2d1

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.

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

#afb2d1, answered

What color is #afb2d1?

#afb2d1 is a light soft blue, closest to Light Steel Blue (ΔE2000 8.7). It sits at 235° on the hue wheel with 27% saturation and 75% lightness, which reads as cool.

What is the RGB value of #afb2d1?

rgb(175, 178, 209) — 175 red, 178 green and 209 blue out of 255, or 68.6% / 69.8% / 82% by channel.

Is #afb2d1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4556 and perceived brightness is 71%, so black text on it reaches 10.11:1.

Should I use black or white text on #afb2d1?

Black. It scores 10.11:1 against #afb2d1, versus 2.08:1 for white — AAA at any size.

What is the complementary color of #afb2d1?

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

What colors go well with #afb2d1?

For interface work: #F5F6F9 as the surface, #CBCDE1 for borders, #545992 for secondary text, #867046 as an accent and #2F3251 for hover and pressed states. For a palette, the analogous pair #AFC3D1 and #BDAFD1 stays calm, while #D1CEAF is the loudest partner.

What is #afb2d1 in CMYK for printing?

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

Is #afb2d1 warm or cool?

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

Work with #afb2d1 in the Color Lab