#8E98AC#8E98AC

#8E98AC is a light, muted blue. Relative luminance 0.312; OKLCH L 67.8% C 0.032 H 264.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8E98AC
RGBrgb(142, 152, 172)
HSLhsl(220, 15%, 62%)
HSVhsv(220, 17%, 67%)
CMYKcmyk(17.4%, 11.6%, 0%, 32.5%)
CIE-LABlab(62.66, 0.71, -11.64)
CIE-LCHlch(62.66, 11.66, 273.51°)
OKLaboklab(67.83% -0.0031 -0.0315)
OKLCHoklch(67.83% 0.032 264.3)
XYZxyz(29.8282, 31.1853, 43.4696)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E98AC #ACA28E
analogous
#8EA7AC #8E98AC #938EAC
triadic
#8E98AC #AC8E98 #98AC8E
tetradic
#8E98AC #AC8EA7 #ACA28E #8EAC93
square
#8E98AC #AC8EA7 #ACA28E #8EAC93
split-complementary
#8E98AC #AC938E #A7AC8E
monochromatic
#515B6E #6B7892 #8E98AC #B1B8C6 #D5D8E0

Accessibility & contrast

On white

2.90
#8E98AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8E98AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E98AC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E98AC#FFFFFF#000000##000000
##8E98AC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9299AD
Deuteranopia (green-blind)
#8F96AC
Tritanopia (blue-blind)
#879C9E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8e98ac;
/* rgb */ color: rgb(142, 152, 172);
/* oklch */ color: oklch(67.8% 0.032 264.3);
Tailwind
colors: {
  custom: {
    50: '#afb6c4',
    500: '#8e98ac',
    950: '#000000',
  },
}
SCSS
$custom: #8e98ac;
$custom-light: #afb6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e98ac",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 172
  },
  "hsl": {
    "h": 220,
    "s": 15.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67832,
    "c": 0.0317,
    "h": 264.3
  },
  "luminance": 0.31186
}

Semantic roles & 50–950 ramp

primary
#8E98AC
secondary
#D0CDC5
accent
#804C9A
background
#FAFBFC
surface
#F4F6F8
border
#CED0D1
text
#101112
muted
#7F8081

Preview Lab

Preview with #8E98AC

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

Preview Lab → · Contrast checker → · Palette generator →

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