Skip to content

#afb8d2

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

RGB
175, 184, 210
HSL
225°, 28%, 76%
CMYK
17, 12, 0, 18
Luminance
0.4805

At a glance

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

Hex
#afb8d2
Hue
225°
blue
Saturation
28%
soft
Lightness
76%
light
Brightness
82%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4805
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.61:1
Closest name
Light Steel Blue
ΔE2000 5.2
Where it sits
Hue225° of 360°
Saturation28%
Lightness76%
Temperature
Warm ← → Cool84% 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#afb8d2
RGBrgb(175, 184, 210)
HSLhsl(225, 28%, 76%)
CMYKcmyk(17%, 12%, 0%, 18%)
LABlab(74.8 2.2 -14.1)
LCHlch(74.8 14.3 278.9)
OKLCHoklch(0.784 0.038 270.4)
Decimal11516114
Display P3color(display-p3 0.686 0.722 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb8d2 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#afb8d2 on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B1BAD3
deuteranopia · #AEB7D1
tritanopia · #A7BDC0

Color scale — 50 to 950

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

#F6F7F9
#ECEEF3
#D6DAE6
#afb8d2
#939FC2
#6F80AE
#586A9D
#495883
#3B4668
#2D364D
#1C2130
Base = 300Lightest = 50 · #F6F7F9Darkest = 950 · #1C2130
:root {
  --brand-50: #F6F7F9;
  --brand-100: #ECEEF3;
  --brand-200: #D6DAE6;
  --brand-300: #afb8d2;
  --brand-400: #939FC2;
  --brand-500: #6F80AE;
  --brand-600: #586A9D;
  --brand-700: #495883;
  --brand-800: #3B4668;
  --brand-900: #2D364D;
  --brand-950: #1C2130;
  --brand: #afb8d2;
  --brand-ink: #000000;
}

Colors that work with #afb8d2

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#CBD1E2
Hairlines and dividers
Muted text#536393
Captions on the surface
Accent#876445
Second voice, not a rival
Dark variant#2E3752
Hover, pressed, headers
Light variant#EFF1F6
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 #afb8d2

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#D2C9AF
Analogous left#AFCAD2
Analogous right#B8AFD2
Split-complement 1#D2B8AF
Split-complement 2#CAD2AF
Triadic 1#D2AFB8
Triadic 2#B8D2AF
Tetradic#D2AFCA

RGB percentages

Red68.6%
Green72.2%
Blue82.4%

CMYK percentages

Cyan16.7%
Magenta12.4%
Yellow0.0%
Key (black)17.6%

Color previews

#afb8d2 text on a black background

contrast 10.61:1

Card sample

#afb8d2 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb8d2

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.

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

#afb8d2, answered

What color is #afb8d2?

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

What is the RGB value of #afb8d2?

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

Is #afb8d2 a light or a dark color?

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

Should I use black or white text on #afb8d2?

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

What is the complementary color of #afb8d2?

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

What colors go well with #afb8d2?

For interface work: #F5F6F9 as the surface, #CBD1E2 for borders, #536393 for secondary text, #876445 as an accent and #2E3752 for hover and pressed states. For a palette, the analogous pair #AFCAD2 and #B8AFD2 stays calm, while #D2C9AF is the loudest partner.

What is #afb8d2 in CMYK for printing?

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

Is #afb8d2 warm or cool?

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

Work with #afb8d2 in the Color Lab