#8A9CDB#8A9CDB

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

Color values

HEX#8A9CDB
RGBrgb(138, 156, 219)
HSLhsl(227, 53%, 70%)
HSVhsv(227, 37%, 86%)
CMYKcmyk(37%, 28.8%, 0%, 14.1%)
CIE-LABlab(65.19, 8.92, -34.07)
CIE-LCHlch(65.19, 35.22, 284.68°)
OKLaboklab(70.31% 0.0026 -0.0949)
OKLCHoklch(70.31% 0.095 271.6)
XYZxyz(35.1521, 34.2932, 71.7712)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CDB #DBC98A
analogous
#8AC4DB #8A9CDB #A18ADB
triadic
#8A9CDB #DB8A9C #9CDB8A
tetradic
#8A9CDB #DB8AC4 #DBC98A #8ADBA1
square
#8A9CDB #DB8AC4 #DBC98A #8ADBA1
split-complementary
#8A9CDB #DBA18A #C4DB8A
monochromatic
#3753B3 #5B74CD #8A9CDB #B9C4E9 #E8EBF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9CDB#FFFFFF#000000##000000
##8A9CDB1.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)
#87A2DE
Deuteranopia (green-blind)
#819BDA
Tritanopia (blue-blind)
#72A8B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9cdb;
/* rgb */ color: rgb(138, 156, 219);
/* oklch */ color: oklch(70.3% 0.095 271.6);
Tailwind
colors: {
  custom: {
    50: '#aeb9e6',
    500: '#8a9cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cdb;
$custom-light: #aeb9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cdb",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 219
  },
  "hsl": {
    "h": 226.667,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.09492,
    "h": 271.6
  },
  "luminance": 0.34295
}

Semantic roles & 50–950 ramp

primary
#8A9CDB
secondary
#ECE7D5
accent
#9E25C0
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8A9CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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