Skip to content

#afb2c8

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

RGB
175, 178, 200
HSL
233°, 19%, 74%
CMYK
13, 11, 0, 22
Luminance
0.4512

At a glance

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

Hex
#afb2c8
Hue
233°
blue
Saturation
19%
soft
Lightness
74%
light
Brightness
78%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4512
WCAG relative
Temperature
Cool
70/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.02:1
Closest name
Light Steel Blue
ΔE2000 7.9
Where it sits
Hue233° of 360°
Saturation19%
Lightness74%
Temperature
Warm ← → Cool70% 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#afb2c8
RGBrgb(175, 178, 200)
HSLhsl(233, 19%, 74%)
CMYKcmyk(13%, 11%, 0%, 22%)
LABlab(73.0 3.4 -11.5)
LCHlch(73.0 12.0 286.3)
OKLCHoklch(0.768 0.031 279.5)
Decimal11514568
Display P3color(display-p3 0.686 0.698 0.784)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2c8 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#afb2c8 on black: 10.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ADB4C9
deuteranopia · #ABB2C7
tritanopia · #AAB6B9

Color scale — 50 to 950

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

#F6F7F8
#EDEEF2
#D8DAE3
#afb2c8
#9B9FBA
#7A7FA4
#646991
#535879
#434661
#333548
#20212D
Base = 300Lightest = 50 · #F6F7F8Darkest = 950 · #20212D
:root {
  --brand-50: #F6F7F8;
  --brand-100: #EDEEF2;
  --brand-200: #D8DAE3;
  --brand-300: #afb2c8;
  --brand-400: #9B9FBA;
  --brand-500: #7A7FA4;
  --brand-600: #646991;
  --brand-700: #535879;
  --brand-800: #434661;
  --brand-900: #333548;
  --brand-950: #20212D;
  --brand: #afb2c8;
  --brand-ink: #000000;
}

Colors that work with #afb2c8

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#F6F6F9
Tinted page background
Border#CFD0DE
Hairlines and dividers
Muted text#5E6388
Captions on the surface
Accent#7D6B4F
Second voice, not a rival
Dark variant#34374C
Hover, pressed, headers
Light variant#F0F0F5
Selected rows, tints
Dark surface#171821
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 #afb2c8

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#C8C5AF
Analogous left#AFBEC8
Analogous right#B8AFC8
Split-complement 1#C8B8AF
Split-complement 2#BEC8AF
Triadic 1#C8AFB2
Triadic 2#B2C8AF
Tetradic#C8AFBE

RGB percentages

Red68.6%
Green69.8%
Blue78.4%

CMYK percentages

Cyan12.5%
Magenta11.0%
Yellow0.0%
Key (black)21.6%

Color previews

#afb2c8 text on a black background

contrast 10.02:1

Card sample

#afb2c8 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2c8

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.

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

#afb2c8, answered

What color is #afb2c8?

#afb2c8 is a light soft blue, closest to Light Steel Blue (ΔE2000 7.9). It sits at 233° on the hue wheel with 19% saturation and 74% lightness, which reads as cool.

What is the RGB value of #afb2c8?

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

Is #afb2c8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4512 and perceived brightness is 70%, so black text on it reaches 10.02:1.

Should I use black or white text on #afb2c8?

Black. It scores 10.02:1 against #afb2c8, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #afb2c8?

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

What colors go well with #afb2c8?

For interface work: #F6F6F9 as the surface, #CFD0DE for borders, #5E6388 for secondary text, #7D6B4F as an accent and #34374C for hover and pressed states. For a palette, the analogous pair #AFBEC8 and #B8AFC8 stays calm, while #C8C5AF is the loudest partner.

What is #afb2c8 in CMYK for printing?

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

Is #afb2c8 warm or cool?

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

Work with #afb2c8 in the Color Lab