#8A9EC7#8A9EC7

#8A9EC7 is a light, moderate blue. Relative luminance 0.340; OKLCH L 69.9% C 0.065 H 264.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9EC7
RGBrgb(138, 158, 199)
HSLhsl(220, 35%, 66%)
HSVhsv(220, 31%, 78%)
CMYKcmyk(30.7%, 20.6%, 0%, 22%)
CIE-LABlab(64.95, 2.57, -23.34)
CIE-LCHlch(64.95, 23.48, 276.27°)
OKLaboklab(69.86% -0.0062 -0.0643)
OKLCHoklch(69.86% 0.065 264.5)
XYZxyz(33.0139, 33.9793, 58.8409)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EC7 #C7B38A
analogous
#8ABCC7 #8A9EC7 #948AC7
triadic
#8A9EC7 #C78A9E #9EC78A
tetradic
#8A9EC7 #C78ABC #C7B38A #8AC794
square
#8A9EC7 #C78ABC #C7B38A #8AC794
split-complementary
#8A9EC7 #C7948A #BCC78A
monochromatic
#455E91 #617CB3 #8A9EC7 #B3C0DB #DDE3EF

Accessibility & contrast

On white

2.69
#8A9EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8A9EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EC7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EC7#FFFFFF#000000##000000
##8A9EC71.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A1C9
Deuteranopia (green-blind)
#8B9BC6
Tritanopia (blue-blind)
#79A6AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9ec7;
/* rgb */ color: rgb(138, 158, 199);
/* oklch */ color: oklch(69.9% 0.065 264.5);
Tailwind
colors: {
  custom: {
    50: '#adbad8',
    500: '#8a9ec7',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ec7;
$custom-light: #adbad8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ec7",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 199
  },
  "hsl": {
    "h": 220.328,
    "s": 35.26,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69858,
    "c": 0.06461,
    "h": 264.5
  },
  "luminance": 0.33981
}

Semantic roles & 50–950 ramp

primary
#8A9EC7
secondary
#E0DACC
accent
#8737AE
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A9EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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