#8A9CD3#8A9CD3

#8A9CD3 is a light, moderate blue. Relative luminance 0.339; OKLCH L 69.9% C 0.084 H 270.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9CD3
RGBrgb(138, 156, 211)
HSLhsl(225, 45%, 68%)
HSVhsv(225, 35%, 83%)
CMYKcmyk(34.6%, 26.1%, 0%, 17.3%)
CIE-LABlab(64.87, 6.79, -30.14)
CIE-LCHlch(64.87, 30.89, 282.71°)
OKLaboklab(69.95% 0.0003 -0.0836)
OKLCHoklch(69.95% 0.084 270.2)
XYZxyz(34.1241, 33.8820, 66.3573)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CD3 #D3C18A
analogous
#8AC0D3 #8A9CD3 #9C8AD3
triadic
#8A9CD3 #D38A9C #9CD38A
tetradic
#8A9CD3 #D38AC0 #D3C18A #8AD39C
square
#8A9CD3 #D38AC0 #D3C18A #8AD39C
split-complementary
#8A9CD3 #D39C8A #C0D38A
monochromatic
#3E57A5 #5E76C2 #8A9CD3 #B6C2E4 #E3E7F4

Accessibility & contrast

On white

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

On black

7.78
#8A9CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CD3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CD3#FFFFFF#000000##000000
##8A9CD31.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9cd3;
/* rgb */ color: rgb(138, 156, 211);
/* oklch */ color: oklch(69.9% 0.084 270.2);
Tailwind
colors: {
  custom: {
    50: '#aeb9e0',
    500: '#8a9cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cd3;
$custom-light: #aeb9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cd3",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 211
  },
  "hsl": {
    "h": 225.205,
    "s": 45.342,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69949,
    "c": 0.08362,
    "h": 270.2
  },
  "luminance": 0.33883
}

Semantic roles & 50–950 ramp

primary
#8A9CD3
secondary
#E7E2D1
accent
#962DB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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