#8A9DD5#8A9DD5

#8A9DD5 is a light, moderate blue. Relative luminance 0.343; OKLCH L 70.2% C 0.085 H 269.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9DD5
RGBrgb(138, 157, 213)
HSLhsl(225, 47%, 69%)
HSVhsv(225, 35%, 84%)
CMYKcmyk(35.2%, 26.3%, 0%, 16.5%)
CIE-LABlab(65.22, 6.75, -30.71)
CIE-LCHlch(65.22, 31.44, 282.40°)
OKLaboklab(70.25% -0.0005 -0.0853)
OKLCHoklch(70.25% 0.085 269.7)
XYZxyz(34.5449, 34.3199, 67.7421)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DD5 #D5C28A
analogous
#8AC3D5 #8A9DD5 #9D8AD5
triadic
#8A9DD5 #D58A9D #9DD58A
tetradic
#8A9DD5 #D58AC3 #D5C28A #8AD59D
square
#8A9DD5 #D58AC3 #D5C28A #8AD59D
split-complementary
#8A9DD5 #D59D8A #C3D58A
monochromatic
#3C58A8 #5D77C5 #8A9DD5 #B7C3E5 #E4E8F5

Accessibility & contrast

On white

2.67
#8A9DD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8A9DD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DD5
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DD5#FFFFFF#000000##000000
##8A9DD51.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA2D7
Deuteranopia (green-blind)
#849BD4
Tritanopia (blue-blind)
#74A8B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9dd5;
/* rgb */ color: rgb(138, 157, 213);
/* oklch */ color: oklch(70.2% 0.085 269.7);
Tailwind
colors: {
  custom: {
    50: '#aeb9e2',
    500: '#8a9dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dd5;
$custom-light: #aeb9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dd5",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 213
  },
  "hsl": {
    "h": 224.8,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.08526,
    "h": 269.7
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#8A9DD5
secondary
#E8E3D2
accent
#962BBA
background
#FAFBFD
surface
#F5F6FB
border
#CFD0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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