Skip to content

#afb8d3

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

RGB
175, 184, 211
HSL
225°, 29%, 76%
CMYK
17, 13, 0, 17
Luminance
0.4810

At a glance

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

Hex
#afb8d3
Hue
225°
blue
Saturation
29%
soft
Lightness
76%
light
Brightness
83%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4810
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.62:1
Closest name
Light Steel Blue
ΔE2000 5.3
Where it sits
Hue225° of 360°
Saturation29%
Lightness76%
Temperature
Warm ← → Cool85% 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#afb8d3
RGBrgb(175, 184, 211)
HSLhsl(225, 29%, 76%)
CMYKcmyk(17%, 13%, 0%, 17%)
LABlab(74.9 2.4 -14.6)
LCHlch(74.9 14.8 279.5)
OKLCHoklch(0.784 0.040 270.9)
Decimal11516115
Display P3color(display-p3 0.686 0.722 0.827)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb8d3 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#afb8d3 on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B0BAD4
deuteranopia · #AEB7D2
tritanopia · #A7BDC1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afb8d3 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
#ECEEF3
#D5DAE6
#afb8d3
#929FC3
#6E7FAF
#57699E
#485784
#3A4669
#2D354E
#1C2130
Base = 300Lightest = 50 · #F6F6F9Darkest = 950 · #1C2130
:root {
  --brand-50: #F6F6F9;
  --brand-100: #ECEEF3;
  --brand-200: #D5DAE6;
  --brand-300: #afb8d3;
  --brand-400: #929FC3;
  --brand-500: #6E7FAF;
  --brand-600: #57699E;
  --brand-700: #485784;
  --brand-800: #3A4669;
  --brand-900: #2D354E;
  --brand-950: #1C2130;
  --brand: #afb8d3;
  --brand-ink: #000000;
}

Colors that work with #afb8d3

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#F5F6FA
Tinted page background
Border#CAD0E2
Hairlines and dividers
Muted text#516294
Captions on the surface
Accent#876645
Second voice, not a rival
Dark variant#2D3752
Hover, pressed, headers
Light variant#EFF0F6
Selected rows, tints
Dark surface#141824
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 #afb8d3

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#D3CAAF
Analogous left#AFCAD3
Analogous right#B8AFD3
Split-complement 1#D3B8AF
Split-complement 2#CAD3AF
Triadic 1#D3AFB8
Triadic 2#B8D3AF
Tetradic#D3AFCA

RGB percentages

Red68.6%
Green72.2%
Blue82.7%

CMYK percentages

Cyan17.1%
Magenta12.8%
Yellow0.0%
Key (black)17.3%

Color previews

#afb8d3 text on a black background

contrast 10.62:1

Card sample

#afb8d3 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb8d3

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.

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

#afb8d3, answered

What color is #afb8d3?

#afb8d3 is a light soft blue, closest to Light Steel Blue (ΔE2000 5.3). It sits at 225° on the hue wheel with 29% saturation and 76% lightness, which reads as cool.

What is the RGB value of #afb8d3?

rgb(175, 184, 211) — 175 red, 184 green and 211 blue out of 255, or 68.6% / 72.2% / 82.7% by channel.

Is #afb8d3 a light or a dark color?

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

Should I use black or white text on #afb8d3?

Black. It scores 10.62:1 against #afb8d3, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #afb8d3?

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

What colors go well with #afb8d3?

For interface work: #F5F6FA as the surface, #CAD0E2 for borders, #516294 for secondary text, #876645 as an accent and #2D3752 for hover and pressed states. For a palette, the analogous pair #AFCAD3 and #B8AFD3 stays calm, while #D3CAAF is the loudest partner.

What is #afb8d3 in CMYK for printing?

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

Is #afb8d3 warm or cool?

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

Work with #afb8d3 in the Color Lab