#8A9CD9#8A9CD9

#8A9CD9 is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.2% C 0.092 H 271.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8A9CD9
RGBrgb(138, 156, 217)
HSLhsl(226, 51%, 70%)
HSVhsv(226, 36%, 85%)
CMYKcmyk(36.4%, 28.1%, 0%, 14.9%)
CIE-LABlab(65.11, 8.39, -33.09)
CIE-LCHlch(65.11, 34.13, 284.22°)
OKLaboklab(70.22% 0.002 -0.0921)
OKLCHoklch(70.22% 0.092 271.3)
XYZxyz(34.8904, 34.1885, 70.3928)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CD9 #D9C78A
analogous
#8AC4D9 #8A9CD9 #A08AD9
triadic
#8A9CD9 #D98A9C #9CD98A
tetradic
#8A9CD9 #D98AC4 #D9C78A #8AD9A0
square
#8A9CD9 #D98AC4 #D9C78A #8AD9A0
split-complementary
#8A9CD9 #D9A08A #C4D98A
monochromatic
#3954B0 #5C75CA #8A9CD9 #B8C3E8 #E6EAF7

Accessibility & contrast

On white

2.68
#8A9CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8A9CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CD9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CD9#FFFFFF#000000##000000
##8A9CD91.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DC
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#72A8B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9cd9;
/* rgb */ color: rgb(138, 156, 217);
/* oklch */ color: oklch(70.2% 0.092 271.3);
Tailwind
colors: {
  custom: {
    50: '#aeb9e5',
    500: '#8a9cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cd9;
$custom-light: #aeb9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cd9",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 226.329,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.09209,
    "h": 271.3
  },
  "luminance": 0.3419
}

Semantic roles & 50–950 ramp

primary
#8A9CD9
secondary
#EBE6D4
accent
#9C27BE
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#101115
muted
#7F8084

Preview Lab

Preview with #8A9CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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