#8A98B2#8A98B2

#8A98B2 is a light, muted blue. Relative luminance 0.311; OKLCH L 67.8% C 0.042 H 262.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A98B2
RGBrgb(138, 152, 178)
HSLhsl(219, 21%, 62%)
HSVhsv(219, 22%, 70%)
CMYKcmyk(22.5%, 14.6%, 0%, 30.2%)
CIE-LABlab(62.57, 0.80, -15.19)
CIE-LCHlch(62.57, 15.21, 273.00°)
OKLaboklab(67.75% -0.0052 -0.0414)
OKLCHoklch(67.75% 0.042 262.8)
XYZxyz(29.7433, 31.0733, 46.5415)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98B2 #B2A48A
analogous
#8AACB2 #8A98B2 #908AB2
triadic
#8A98B2 #B28A98 #98B28A
tetradic
#8A98B2 #B28AAC #B2A48A #8AB290
square
#8A98B2 #B28AAC #B2A48A #8AB290
split-complementary
#8A98B2 #B2908A #ACB28A
monochromatic
#4D5B75 #65789A #8A98B2 #AFB8CA #D4D9E3

Accessibility & contrast

On white

2.91
#8A98B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8A98B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98B2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98B2#FFFFFF#000000##000000
##8A98B21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9099B3
Deuteranopia (green-blind)
#8C96B1
Tritanopia (blue-blind)
#809DA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a98b2;
/* rgb */ color: rgb(138, 152, 178);
/* oklch */ color: oklch(67.8% 0.042 262.8);
Tailwind
colors: {
  custom: {
    50: '#acb6c9',
    500: '#8a98b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a98b2;
$custom-light: #acb6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98b2",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 219,
    "s": 20.619,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.04175,
    "h": 262.8
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#8A98B2
secondary
#D3CEC5
accent
#80479F
background
#FAFBFC
surface
#F4F6F8
border
#CED0D1
text
#101113
muted
#7F8082

Preview Lab

Preview with #8A98B2

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

Preview Lab → · Contrast checker → · Palette generator →

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