#8A9ECA#8A9ECA

#8A9ECA is a light, moderate blue. Relative luminance 0.341; OKLCH L 70.0% C 0.069 H 265.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A9ECA
RGBrgb(138, 158, 202)
HSLhsl(221, 38%, 67%)
HSVhsv(221, 32%, 79%)
CMYKcmyk(31.7%, 21.8%, 0%, 20.8%)
CIE-LABlab(65.06, 3.33, -24.84)
CIE-LCHlch(65.06, 25.07, 277.63°)
OKLaboklab(69.98% -0.0052 -0.0686)
OKLCHoklch(69.98% 0.069 265.6)
XYZxyz(33.3657, 34.1200, 60.6935)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9ECA #CAB68A
analogous
#8ABECA #8A9ECA #968ACA
triadic
#8A9ECA #CA8A9E #9ECA8A
tetradic
#8A9ECA #CA8ABE #CAB68A #8ACA96
square
#8A9ECA #CA8ABE #CAB68A #8ACA96
split-complementary
#8A9ECA #CA968A #BECA8A
monochromatic
#445D96 #607BB7 #8A9ECA #B4C1DD #DEE4F0

Accessibility & contrast

On white

2.68
#8A9ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#8A9ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9ECA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9ECA#FFFFFF#000000##000000
##8A9ECA1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CC
Deuteranopia (green-blind)
#8A9BC9
Tritanopia (blue-blind)
#78A7AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9eca;
/* rgb */ color: rgb(138, 158, 202);
/* oklch */ color: oklch(70.0% 0.069 265.6);
Tailwind
colors: {
  custom: {
    50: '#adbada',
    500: '#8a9eca',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eca;
$custom-light: #adbada;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eca",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 202
  },
  "hsl": {
    "h": 221.25,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.06876,
    "h": 265.6
  },
  "luminance": 0.34121
}

Semantic roles & 50–950 ramp

primary
#8A9ECA
secondary
#E2DCCE
accent
#8A35B1
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A9ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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