#8A9CD7#8A9CD7

#8A9CD7 is a light, moderate blue. Relative luminance 0.341; OKLCH L 70.1% C 0.089 H 270.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A9CD7
RGBrgb(138, 156, 215)
HSLhsl(226, 49%, 69%)
HSVhsv(226, 36%, 84%)
CMYKcmyk(35.8%, 27.4%, 0%, 15.7%)
CIE-LABlab(65.03, 7.85, -32.11)
CIE-LCHlch(65.03, 33.05, 283.75°)
OKLaboklab(70.13% 0.0014 -0.0893)
OKLCHoklch(70.13% 0.089 270.9)
XYZxyz(34.6318, 34.0851, 69.0311)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CD7 #D7C58A
analogous
#8AC3D7 #8A9CD7 #9F8AD7
triadic
#8A9CD7 #D78A9C #9CD78A
tetradic
#8A9CD7 #D78AC3 #D7C58A #8AD79F
square
#8A9CD7 #D78AC3 #D7C58A #8AD79F
split-complementary
#8A9CD7 #D79F8A #C3D78A
monochromatic
#3B55AC #5C75C7 #8A9CD7 #B8C3E7 #E5E9F6

Accessibility & contrast

On white

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

On black

7.82
#8A9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CD7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CD7#FFFFFF#000000##000000
##8A9CD71.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A1DA
Deuteranopia (green-blind)
#829BD6
Tritanopia (blue-blind)
#73A8B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9cd7;
/* rgb */ color: rgb(138, 156, 215);
/* oklch */ color: oklch(70.1% 0.089 270.9);
Tailwind
colors: {
  custom: {
    50: '#aeb9e3',
    500: '#8a9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cd7;
$custom-light: #aeb9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cd7",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 225.974,
    "s": 49.045,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70128,
    "c": 0.08927,
    "h": 270.9
  },
  "luminance": 0.34087
}

Semantic roles & 50–950 ramp

primary
#8A9CD7
secondary
#EAE4D3
accent
#9A29BC
background
#FAFBFD
surface
#F5F6FB
border
#CFD0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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