#8A98BB#8A98BB

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

Color values

HEX#8A98BB
RGBrgb(138, 152, 187)
HSLhsl(223, 26%, 64%)
HSVhsv(223, 26%, 73%)
CMYKcmyk(26.2%, 18.7%, 0%, 26.7%)
CIE-LABlab(62.88, 2.96, -19.78)
CIE-LCHlch(62.88, 20.00, 278.51°)
OKLaboklab(68.1% -0.002 -0.0542)
OKLCHoklch(68.1% 0.054 267.9)
XYZxyz(30.6767, 31.4467, 51.4576)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98BB #BBAD8A
analogous
#8AB0BB #8A98BB #948ABB
triadic
#8A98BB #BB8A98 #98BB8A
tetradic
#8A98BB #BB8AB0 #BBAD8A #8ABB94
square
#8A98BB #BB8AB0 #BBAD8A #8ABB94
split-complementary
#8A98BB #BB948A #B0BB8A
monochromatic
#4A5A80 #6376A5 #8A98BB #B1BAD1 #D7DCE8

Accessibility & contrast

On white

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

On black

7.29
#8A98BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98BB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98BB#FFFFFF#000000##000000
##8A98BB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9ABD
Deuteranopia (green-blind)
#8996BA
Tritanopia (blue-blind)
#7D9FA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a98bb;
/* rgb */ color: rgb(138, 152, 187);
/* oklch */ color: oklch(68.1% 0.054 267.9);
Tailwind
colors: {
  custom: {
    50: '#adb6cf',
    500: '#8a98bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a98bb;
$custom-light: #adb6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98bb",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 222.857,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68099,
    "c": 0.05428,
    "h": 267.9
  },
  "luminance": 0.31448
}

Semantic roles & 50–950 ramp

primary
#8A98BB
secondary
#D9D4C8
accent
#8840A5
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#101113
muted
#7F8082

Preview Lab

Preview with #8A98BB

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

Preview Lab → · Contrast checker → · Palette generator →

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