Skip to content

#8f96af

a balanced, soft blue · cool · closest name: Light Slate Gray

RGB
143, 150, 175
HSL
227°, 17%, 62%
CMYK
18, 14, 0, 31
Luminance
0.3075

At a glance

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

Hex
#8f96af
Hue
227°
blue
Saturation
17%
soft
Lightness
62%
balanced
Brightness
69%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3075
WCAG relative
Temperature
Cool
69/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
7.15:1
Closest name
Light Slate Gray
ΔE2000 8.7
Where it sits
Hue227° of 360°
Saturation17%
Lightness62%
Temperature
Warm ← → Cool69% 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#8f96af
RGBrgb(143, 150, 175)
HSLhsl(227, 17%, 62%)
CMYKcmyk(18%, 14%, 0%, 31%)
LABlab(62.3 2.9 -13.9)
LCHlch(62.3 14.2 281.6)
OKLCHoklch(0.676 0.038 273.0)
Decimal9410223
Display P3color(display-p3 0.561 0.588 0.686)

Copy-ready code

/* CSS */
color: #8f96af;
background-color: #8f96af;
/* Tailwind (arbitrary) */
class="text-[#8f96af] bg-[#8f96af]"
/* SCSS */
$brand: #8f96af;
/* SwiftUI */
Color(red: 0.561, green: 0.588, blue: 0.686)
/* Android */
Color.parseColor("#8f96af")
/* Flutter */
Color(0xFF8F96AF)
/* Python / OpenCV (BGR) */
(175, 150, 143)

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 #8f96af · 7.15:1
Use #000000AAA at every size.
Aa
White text · 2.94:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.15:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8f96af as text scores 2.94:1 on white and 7.15:1 on black.

Accessibility — WCAG contrast

Aa
#8f96af on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#8f96af on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8F98B0
deuteranopia · #8D95AE
tritanopia · #889B9E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8f96af is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F7F8
#EEEFF2
#D9DBE3
#BEC2D0
#8f96af
#7C84A2
#666F8F
#555C77
#444A5F
#343847
#20232C
Base = 400Lightest = 50 · #F6F7F8Darkest = 950 · #20232C
:root {
  --brand-50: #F6F7F8;
  --brand-100: #EEEFF2;
  --brand-200: #D9DBE3;
  --brand-300: #BEC2D0;
  --brand-400: #8f96af;
  --brand-500: #7C84A2;
  --brand-600: #666F8F;
  --brand-700: #555C77;
  --brand-800: #444A5F;
  --brand-900: #343847;
  --brand-950: #20232C;
  --brand: #8f96af;
  --brand-ink: #000000;
}

Colors that work with #8f96af

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#F6F7F9
Tinted page background
Border#CFD2DD
Hairlines and dividers
Muted text#606886
Captions on the surface
Accent#7B6751
Second voice, not a rival
Dark variant#353A4A
Hover, pressed, headers
Light variant#F0F1F4
Selected rows, tints
Dark surface#171921
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 #8f96af

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#AFA88F
Analogous left#8FA6AF
Analogous right#988FAF
Split-complement 1#AF988F
Split-complement 2#A6AF8F
Triadic 1#AF8F96
Triadic 2#96AF8F
Tetradic#AF8FA6

RGB percentages

Red56.1%
Green58.8%
Blue68.6%

CMYK percentages

Cyan18.3%
Magenta14.3%
Yellow0.0%
Key (black)31.4%

Color previews

#8f96af text on a black background

contrast 7.15:1

Card sample

#8f96af text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 150, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 150, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f96af;
background: linear-gradient(135deg, #8f96af, #9D8FAF);

Monochromatic scale

Palettes built from #8f96af

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.

#8f96af 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#8f96af, answered

What color is #8f96af?

#8f96af is a balanced soft blue, closest to Light Slate Gray (ΔE2000 8.7). It sits at 227° on the hue wheel with 17% saturation and 62% lightness, which reads as cool.

What is the RGB value of #8f96af?

rgb(143, 150, 175) — 143 red, 150 green and 175 blue out of 255, or 56.1% / 58.8% / 68.6% by channel.

Is #8f96af a light or a dark color?

It is a mid-tone. Relative luminance is 0.3075 and perceived brightness is 59%, so black text on it reaches 7.15:1.

Should I use black or white text on #8f96af?

Black. It scores 7.15:1 against #8f96af, versus 2.94:1 for white — AAA at any size.

What is the complementary color of #8f96af?

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

What colors go well with #8f96af?

For interface work: #F6F7F9 as the surface, #CFD2DD for borders, #606886 for secondary text, #7B6751 as an accent and #353A4A for hover and pressed states. For a palette, the analogous pair #8FA6AF and #988FAF stays calm, while #AFA88F is the loudest partner.

What is #8f96af in CMYK for printing?

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

Is #8f96af warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #948FAF; nudged cooler, #8D9DB1.

Work with #8f96af in the Color Lab