#8A9EC6#8A9EC6

#8A9EC6 is a light, moderate blue. Relative luminance 0.339; OKLCH L 69.8% C 0.063 H 264.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9EC6
RGBrgb(138, 158, 198)
HSLhsl(220, 34%, 66%)
HSVhsv(220, 30%, 78%)
CMYKcmyk(30.3%, 20.2%, 0%, 22.4%)
CIE-LABlab(64.91, 2.31, -22.84)
CIE-LCHlch(64.91, 22.96, 275.78°)
OKLaboklab(69.82% -0.0066 -0.0629)
OKLCHoklch(69.82% 0.063 264)
XYZxyz(32.8982, 33.9330, 58.2315)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EC6 #C6B28A
analogous
#8ABCC6 #8A9EC6 #948AC6
triadic
#8A9EC6 #C68A9E #9EC68A
tetradic
#8A9EC6 #C68ABC #C6B28A #8AC694
square
#8A9EC6 #C68ABC #C6B28A #8AC694
split-complementary
#8A9EC6 #C6948A #BCC68A
monochromatic
#465F90 #617CB2 #8A9EC6 #B3C0DA #DCE2EE

Accessibility & contrast

On white

2.70
#8A9EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8A9EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EC6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EC6#FFFFFF#000000##000000
##8A9EC61.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A1C8
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#79A6AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a9ec6;
/* rgb */ color: rgb(138, 158, 198);
/* oklch */ color: oklch(69.8% 0.063 264.0);
Tailwind
colors: {
  custom: {
    50: '#adbad7',
    500: '#8a9ec6',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ec6;
$custom-light: #adbad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ec6",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 198
  },
  "hsl": {
    "h": 220,
    "s": 34.483,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69817,
    "c": 0.06324,
    "h": 264
  },
  "luminance": 0.33934
}

Semantic roles & 50–950 ramp

primary
#8A9EC6
secondary
#E0D9CC
accent
#8638AD
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A9EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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