#8A97D2#8A97D2

#8A97D2 is a light, moderate blue. Relative luminance 0.322; OKLCH L 68.9% C 0.088 H 274.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8A97D2
RGBrgb(138, 151, 210)
HSLhsl(229, 44%, 68%)
HSVhsv(229, 34%, 82%)
CMYKcmyk(34.3%, 28.1%, 0%, 17.6%)
CIE-LABlab(63.50, 9.39, -31.70)
CIE-LCHlch(63.50, 33.06, 286.49°)
OKLaboklab(68.87% 0.0066 -0.0881)
OKLCHoklch(68.87% 0.088 274.3)
XYZxyz(33.1774, 32.1884, 65.4252)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97D2 #D2C58A
analogous
#8ABBD2 #8A97D2 #A18AD2
triadic
#8A97D2 #D28A97 #97D28A
tetradic
#8A97D2 #D28ABB #D2C58A #8AD2A1
square
#8A97D2 #D28ABB #D2C58A #8AD2A1
split-complementary
#8A97D2 #D2A18A #BBD28A
monochromatic
#3F51A3 #5E70C1 #8A97D2 #B6BEE3 #E2E6F4

Accessibility & contrast

On white

2.82
#8A97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8A97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97D2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97D2#FFFFFF#000000##000000
##8A97D21.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD5
Deuteranopia (green-blind)
#7F97D1
Tritanopia (blue-blind)
#76A2AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a97d2;
/* rgb */ color: rgb(138, 151, 210);
/* oklch */ color: oklch(68.9% 0.088 274.3);
Tailwind
colors: {
  custom: {
    50: '#aeb5e0',
    500: '#8a97d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a97d2;
$custom-light: #aeb5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97d2",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 229.167,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68871,
    "c": 0.08834,
    "h": 274.3
  },
  "luminance": 0.3219
}

Semantic roles & 50–950 ramp

primary
#8A97D2
secondary
#E7E3D1
accent
#9F2EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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