#8A9CDC#8A9CDC

#8A9CDC is a light, moderate blue. Relative luminance 0.343; OKLCH L 70.4% C 0.096 H 271.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9CDC
RGBrgb(138, 156, 220)
HSLhsl(227, 54%, 70%)
HSVhsv(227, 37%, 86%)
CMYKcmyk(37.3%, 29.1%, 0%, 13.7%)
CIE-LABlab(65.24, 9.19, -34.56)
CIE-LCHlch(65.24, 35.76, 284.90°)
OKLaboklab(70.36% 0.0029 -0.0963)
OKLCHoklch(70.36% 0.096 271.7)
XYZxyz(35.2841, 34.3460, 72.4666)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CDC #DCCA8A
analogous
#8AC5DC #8A9CDC #A18ADC
triadic
#8A9CDC #DC8A9C #9CDC8A
tetradic
#8A9CDC #DC8AC5 #DCCA8A #8ADCA1
square
#8A9CDC #DC8AC5 #DCCA8A #8ADCA1
split-complementary
#8A9CDC #DCA18A #C5DC8A
monochromatic
#3652B5 #5B74CE #8A9CDC #B9C4EA #E7EBF8

Accessibility & contrast

On white

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

On black

7.87
#8A9CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CDC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CDC#FFFFFF#000000##000000
##8A9CDC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#809BDA
Tritanopia (blue-blind)
#71A9B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9cdc;
/* rgb */ color: rgb(138, 156, 220);
/* oklch */ color: oklch(70.4% 0.096 271.7);
Tailwind
colors: {
  custom: {
    50: '#afb9e7',
    500: '#8a9cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cdc;
$custom-light: #afb9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cdc",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 226.829,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70356,
    "c": 0.09633,
    "h": 271.7
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#8A9CDC
secondary
#ECE7D6
accent
#9F24C1
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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