#8A9ECB#8A9ECB

#8A9ECB is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.0% C 0.070 H 266.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A9ECB
RGBrgb(138, 158, 203)
HSLhsl(222, 38%, 67%)
HSVhsv(222, 32%, 80%)
CMYKcmyk(32%, 22.2%, 0%, 20.4%)
CIE-LABlab(65.10, 3.58, -25.34)
CIE-LCHlch(65.10, 25.59, 278.05°)
OKLaboklab(70.02% -0.0049 -0.07)
OKLCHoklch(70.02% 0.07 266)
XYZxyz(33.4845, 34.1675, 61.3191)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9ECB #CBB78A
analogous
#8ABFCB #8A9ECB #978ACB
triadic
#8A9ECB #CB8A9E #9ECB8A
tetradic
#8A9ECB #CB8ABF #CBB78A #8ACB97
square
#8A9ECB #CB8ABF #CBB78A #8ACB97
split-complementary
#8A9ECB #CB978A #BFCB8A
monochromatic
#435D97 #607BB8 #8A9ECB #B4C1DE #DFE4F1

Accessibility & contrast

On white

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

On black

7.83
#8A9ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9ECB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9ECB#FFFFFF#000000##000000
##8A9ECB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CD
Deuteranopia (green-blind)
#899BCA
Tritanopia (blue-blind)
#77A7AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9ecb;
/* rgb */ color: rgb(138, 158, 203);
/* oklch */ color: oklch(70.0% 0.070 266.0);
Tailwind
colors: {
  custom: {
    50: '#adbadb',
    500: '#8a9ecb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ecb;
$custom-light: #adbadb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ecb",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 203
  },
  "hsl": {
    "h": 221.538,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.07014,
    "h": 266
  },
  "luminance": 0.34169
}

Semantic roles & 50–950 ramp

primary
#8A9ECB
secondary
#E3DCCE
accent
#8B34B1
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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