#8A9CD2#8A9CD2

#8A9CD2 is a light, moderate blue. Relative luminance 0.338; OKLCH L 69.9% C 0.082 H 270.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A9CD2
RGBrgb(138, 156, 210)
HSLhsl(225, 44%, 68%)
HSVhsv(225, 34%, 82%)
CMYKcmyk(34.3%, 25.7%, 0%, 17.6%)
CIE-LABlab(64.83, 6.53, -29.64)
CIE-LCHlch(64.83, 30.35, 282.43°)
OKLaboklab(69.91% 0 -0.0822)
OKLCHoklch(69.91% 0.082 270)
XYZxyz(33.9992, 33.8320, 65.6991)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CD2 #D2C08A
analogous
#8AC0D2 #8A9CD2 #9C8AD2
triadic
#8A9CD2 #D28A9C #9CD28A
tetradic
#8A9CD2 #D28AC0 #D2C08A #8AD29C
square
#8A9CD2 #D28AC0 #D2C08A #8AD29C
split-complementary
#8A9CD2 #D29C8A #C0D28A
monochromatic
#3F58A3 #5E77C1 #8A9CD2 #B6C1E3 #E2E7F4

Accessibility & contrast

On white

2.70
#8A9CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8A9CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CD2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CD2#FFFFFF#000000##000000
##8A9CD21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D4
Deuteranopia (green-blind)
#849AD1
Tritanopia (blue-blind)
#75A7AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a9cd2;
/* rgb */ color: rgb(138, 156, 210);
/* oklch */ color: oklch(69.9% 0.082 270.0);
Tailwind
colors: {
  custom: {
    50: '#aeb9e0',
    500: '#8a9cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cd2;
$custom-light: #aeb9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cd2",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 225,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69905,
    "c": 0.08221,
    "h": 270
  },
  "luminance": 0.33833
}

Semantic roles & 50–950 ramp

primary
#8A9CD2
secondary
#E7E1D1
accent
#952EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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