#8A98BA#8A98BA

#8A98BA is a light, muted blue. Relative luminance 0.314; OKLCH L 68.1% C 0.053 H 267.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8A98BA
RGBrgb(138, 152, 186)
HSLhsl(223, 26%, 64%)
HSVhsv(223, 26%, 73%)
CMYKcmyk(25.8%, 18.3%, 0%, 27.1%)
CIE-LABlab(62.85, 2.72, -19.27)
CIE-LCHlch(62.85, 19.46, 278.02°)
OKLaboklab(68.06% -0.0024 -0.0528)
OKLCHoklch(68.06% 0.053 267.4)
XYZxyz(30.5700, 31.4040, 50.8958)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98BA #BAAC8A
analogous
#8AB0BA #8A98BA #948ABA
triadic
#8A98BA #BA8A98 #98BA8A
tetradic
#8A98BA #BA8AB0 #BAAC8A #8ABA94
square
#8A98BA #BA8AB0 #BAAC8A #8ABA94
split-complementary
#8A98BA #BA948A #B0BA8A
monochromatic
#4B5A7F #6476A3 #8A98BA #B0BAD1 #D7DCE7

Accessibility & contrast

On white

2.88
#8A98BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8A98BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98BA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98BA#FFFFFF#000000##000000
##8A98BA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9ABC
Deuteranopia (green-blind)
#8996B9
Tritanopia (blue-blind)
#7E9FA3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a98ba;
/* rgb */ color: rgb(138, 152, 186);
/* oklch */ color: oklch(68.1% 0.053 267.4);
Tailwind
colors: {
  custom: {
    50: '#adb6ce',
    500: '#8a98ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a98ba;
$custom-light: #adb6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98ba",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 186
  },
  "hsl": {
    "h": 222.5,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6806,
    "c": 0.05287,
    "h": 267.4
  },
  "luminance": 0.31405
}

Semantic roles & 50–950 ramp

primary
#8A98BA
secondary
#D8D3C7
accent
#8741A4
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#101113
muted
#7F8082

Preview Lab

Preview with #8A98BA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A98BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva