#8A9CD5#8A9CD5

#8A9CD5 is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.0% C 0.086 H 270.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9CD5
RGBrgb(138, 156, 213)
HSLhsl(226, 47%, 69%)
HSVhsv(226, 35%, 84%)
CMYKcmyk(35.2%, 26.8%, 0%, 16.5%)
CIE-LABlab(64.95, 7.32, -31.12)
CIE-LCHlch(64.95, 31.97, 283.24°)
OKLaboklab(70.04% 0.0009 -0.0864)
OKLCHoklch(70.04% 0.086 270.6)
XYZxyz(34.3764, 33.9829, 67.6860)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CD5 #D5C38A
analogous
#8AC2D5 #8A9CD5 #9E8AD5
triadic
#8A9CD5 #D58A9C #9CD58A
tetradic
#8A9CD5 #D58AC2 #D5C38A #8AD59E
square
#8A9CD5 #D58AC2 #D5C38A #8AD59E
split-complementary
#8A9CD5 #D59E8A #C2D58A
monochromatic
#3C56A8 #5D76C5 #8A9CD5 #B7C2E5 #E4E8F5

Accessibility & contrast

On white

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

On black

7.80
#8A9CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CD5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CD5#FFFFFF#000000##000000
##8A9CD51.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D7
Deuteranopia (green-blind)
#839BD4
Tritanopia (blue-blind)
#74A7B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9cd5;
/* rgb */ color: rgb(138, 156, 213);
/* oklch */ color: oklch(70.0% 0.086 270.6);
Tailwind
colors: {
  custom: {
    50: '#aeb9e2',
    500: '#8a9cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cd5;
$custom-light: #aeb9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cd5",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 213
  },
  "hsl": {
    "h": 225.6,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70038,
    "c": 0.08644,
    "h": 270.6
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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