#8A9CD4#8A9CD4

#8A9CD4 is a light, moderate blue. Relative luminance 0.339; OKLCH L 70.0% C 0.085 H 270.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9CD4
RGBrgb(138, 156, 212)
HSLhsl(225, 46%, 69%)
HSVhsv(225, 35%, 83%)
CMYKcmyk(34.9%, 26.4%, 0%, 16.9%)
CIE-LABlab(64.91, 7.06, -30.63)
CIE-LCHlch(64.91, 31.43, 282.98°)
OKLaboklab(69.99% 0.0006 -0.085)
OKLCHoklch(69.99% 0.085 270.4)
XYZxyz(34.2499, 33.9323, 67.0196)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CD4 #D4C28A
analogous
#8AC1D4 #8A9CD4 #9D8AD4
triadic
#8A9CD4 #D48A9C #9CD48A
tetradic
#8A9CD4 #D48AC1 #D4C28A #8AD49D
square
#8A9CD4 #D48AC1 #D4C28A #8AD49D
split-complementary
#8A9CD4 #D49D8A #C1D48A
monochromatic
#3D57A6 #5D76C4 #8A9CD4 #B7C2E4 #E4E8F5

Accessibility & contrast

On white

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

On black

7.79
#8A9CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CD4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CD4#FFFFFF#000000##000000
##8A9CD41.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D6
Deuteranopia (green-blind)
#849BD3
Tritanopia (blue-blind)
#74A7AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a9cd4;
/* rgb */ color: rgb(138, 156, 212);
/* oklch */ color: oklch(70.0% 0.085 270.4);
Tailwind
colors: {
  custom: {
    50: '#aeb9e1',
    500: '#8a9cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cd4;
$custom-light: #aeb9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cd4",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 212
  },
  "hsl": {
    "h": 225.405,
    "s": 46.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69994,
    "c": 0.08503,
    "h": 270.4
  },
  "luminance": 0.33934
}

Semantic roles & 50–950 ramp

primary
#8A9CD4
secondary
#E8E3D2
accent
#972CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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