#8A9DDE#8A9DDE

#8A9DDE is a light, moderate blue. Relative luminance 0.348; OKLCH L 70.7% C 0.098 H 271.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A9DDE
RGBrgb(138, 157, 222)
HSLhsl(226, 56%, 71%)
HSVhsv(226, 38%, 87%)
CMYKcmyk(37.8%, 29.3%, 0%, 12.9%)
CIE-LABlab(65.58, 9.16, -35.12)
CIE-LCHlch(65.58, 36.30, 284.62°)
OKLaboklab(70.65% 0.0021 -0.0979)
OKLCHoklch(70.65% 0.098 271.2)
XYZxyz(35.7191, 34.7896, 73.9261)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DDE #DECB8A
analogous
#8AC7DE #8A9DDE #A18ADE
triadic
#8A9DDE #DE8A9D #9DDE8A
tetradic
#8A9DDE #DE8AC7 #DECB8A #8ADEA1
square
#8A9DDE #DE8AC7 #DECB8A #8ADEA1
split-complementary
#8A9DDE #DEA18A #C7DE8A
monochromatic
#3452B9 #5A75D1 #8A9DDE #BAC5EB #E7EBF8

Accessibility & contrast

On white

2.64
#8A9DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#8A9DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DDE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DDE#FFFFFF#000000##000000
##8A9DDE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E1
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#70AAB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a9dde;
/* rgb */ color: rgb(138, 157, 222);
/* oklch */ color: oklch(70.7% 0.098 271.2);
Tailwind
colors: {
  custom: {
    50: '#afb9e8',
    500: '#8a9dde',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dde;
$custom-light: #afb9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dde",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 222
  },
  "hsl": {
    "h": 226.429,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70654,
    "c": 0.09793,
    "h": 271.2
  },
  "luminance": 0.34791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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