#8A9EDE#8A9EDE

#8A9EDE is a light, moderate blue. Relative luminance 0.351; OKLCH L 70.9% C 0.097 H 270.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A9EDE
RGBrgb(138, 158, 222)
HSLhsl(226, 56%, 71%)
HSVhsv(226, 38%, 87%)
CMYKcmyk(37.8%, 28.8%, 0%, 12.9%)
CIE-LABlab(65.85, 8.59, -34.71)
CIE-LCHlch(65.85, 35.76, 283.91°)
OKLaboklab(70.86% 0.0008 -0.0967)
OKLCHoklch(70.86% 0.097 270.5)
XYZxyz(35.8890, 35.1293, 73.9827)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EDE #DECA8A
analogous
#8AC8DE #8A9EDE #A08ADE
triadic
#8A9EDE #DE8A9E #9EDE8A
tetradic
#8A9EDE #DE8AC8 #DECA8A #8ADEA0
square
#8A9EDE #DE8AC8 #DECA8A #8ADEA0
split-complementary
#8A9EDE #DEA08A #C8DE8A
monochromatic
#3454B9 #5A76D1 #8A9EDE #BAC6EB #E7EBF8

Accessibility & contrast

On white

2.62
#8A9EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#8A9EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EDE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EDE#FFFFFF#000000##000000
##8A9EDE1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E1
Deuteranopia (green-blind)
#819DDD
Tritanopia (blue-blind)
#70ABB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a9ede;
/* rgb */ color: rgb(138, 158, 222);
/* oklch */ color: oklch(70.9% 0.097 270.5);
Tailwind
colors: {
  custom: {
    50: '#afbae8',
    500: '#8a9ede',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ede;
$custom-light: #afbae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ede",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 222
  },
  "hsl": {
    "h": 225.714,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.09673,
    "h": 270.5
  },
  "luminance": 0.35131
}

Semantic roles & 50–950 ramp

primary
#8A9EDE
secondary
#EDE8D6
accent
#9D22C4
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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