Skip to content

#afb5cc

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

RGB
175, 181, 204
HSL
228°, 22%, 74%
CMYK
14, 11, 0, 20
Luminance
0.4652

At a glance

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

Hex
#afb5cc
Hue
228°
blue
Saturation
22%
soft
Lightness
74%
light
Brightness
80%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4652
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.30:1
Closest name
Light Steel Blue
ΔE2000 6.4
Where it sits
Hue228° of 360°
Saturation22%
Lightness74%
Temperature
Warm ← → Cool75% 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#afb5cc
RGBrgb(175, 181, 204)
HSLhsl(228, 22%, 74%)
CMYKcmyk(14%, 11%, 0%, 20%)
LABlab(73.9 2.6 -12.3)
LCHlch(73.9 12.6 281.7)
OKLCHoklch(0.776 0.033 274.0)
Decimal11515340
Display P3color(display-p3 0.686 0.710 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb5cc on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#afb5cc on black: 10.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AFB7CD
deuteranopia · #ADB5CB
tritanopia · #A9B9BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afb5cc 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
#EDEEF2
#D7DAE4
#afb5cc
#98A0BD
#7680A8
#5F6B95
#4F597D
#404764
#31364A
#1E222E
Base = 300Lightest = 50 · #F6F7F9Darkest = 950 · #1E222E
:root {
  --brand-50: #F6F7F9;
  --brand-100: #EDEEF2;
  --brand-200: #D7DAE4;
  --brand-300: #afb5cc;
  --brand-400: #98A0BD;
  --brand-500: #7680A8;
  --brand-600: #5F6B95;
  --brand-700: #4F597D;
  --brand-800: #404764;
  --brand-900: #31364A;
  --brand-950: #1E222E;
  --brand: #afb5cc;
  --brand-ink: #000000;
}

Colors that work with #afb5cc

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#CDD1DF
Hairlines and dividers
Muted text#59648C
Captions on the surface
Accent#81684B
Second voice, not a rival
Dark variant#32374E
Hover, pressed, headers
Light variant#EFF1F5
Selected rows, tints
Dark surface#161822
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 #afb5cc

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#CCC6AF
Analogous left#AFC3CC
Analogous right#B7AFCC
Split-complement 1#CCB7AF
Split-complement 2#C3CCAF
Triadic 1#CCAFB5
Triadic 2#B5CCAF
Tetradic#CCAFC3

RGB percentages

Red68.6%
Green71.0%
Blue80.0%

CMYK percentages

Cyan14.2%
Magenta11.3%
Yellow0.0%
Key (black)20.0%

Color previews

#afb5cc text on a black background

contrast 10.30:1

Card sample

#afb5cc text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb5cc

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.

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

#afb5cc, answered

What color is #afb5cc?

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

What is the RGB value of #afb5cc?

rgb(175, 181, 204) — 175 red, 181 green and 204 blue out of 255, or 68.6% / 71% / 80% by channel.

Is #afb5cc a light or a dark color?

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

Should I use black or white text on #afb5cc?

Black. It scores 10.30:1 against #afb5cc, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #afb5cc?

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

What colors go well with #afb5cc?

For interface work: #F6F6F9 as the surface, #CDD1DF for borders, #59648C for secondary text, #81684B as an accent and #32374E for hover and pressed states. For a palette, the analogous pair #AFC3CC and #B7AFCC stays calm, while #CCC6AF is the loudest partner.

What is #afb5cc in CMYK for printing?

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

Is #afb5cc warm or cool?

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

Work with #afb5cc in the Color Lab