#8A9EE2#8A9EE2

#8A9EE2 is a light, moderate blue. Relative luminance 0.353; OKLCH L 71.0% C 0.102 H 271.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A9EE2
RGBrgb(138, 158, 226)
HSLhsl(226, 60%, 71%)
HSVhsv(226, 39%, 89%)
CMYKcmyk(38.9%, 30.1%, 0%, 11.4%)
CIE-LABlab(66.02, 9.68, -36.65)
CIE-LCHlch(66.02, 37.91, 284.79°)
OKLaboklab(71.05% 0.0019 -0.1023)
OKLCHoklch(71.05% 0.102 271.1)
XYZxyz(36.4314, 35.3463, 76.8397)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EE2 #E2CE8A
analogous
#8ACAE2 #8A9EE2 #A28AE2
triadic
#8A9EE2 #E28A9E #9EE28A
tetradic
#8A9EE2 #E28ACA #E2CE8A #8AE2A2
square
#8A9EE2 #E28ACA #E2CE8A #8AE2A2
split-complementary
#8A9EE2 #E2A28A #CAE28A
monochromatic
#3051C2 #5975D6 #8A9EE2 #BBC7EE #E6EBF9

Accessibility & contrast

On white

2.60
#8A9EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#8A9EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EE2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EE2#FFFFFF#000000##000000
##8A9EE21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A4E5
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#6EACB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a9ee2;
/* rgb */ color: rgb(138, 158, 226);
/* oklch */ color: oklch(71.0% 0.102 271.1);
Tailwind
colors: {
  custom: {
    50: '#afbaeb',
    500: '#8a9ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ee2;
$custom-light: #afbaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ee2",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 226
  },
  "hsl": {
    "h": 226.364,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71046,
    "c": 0.10235,
    "h": 271.1
  },
  "luminance": 0.35348
}

Semantic roles & 50–950 ramp

primary
#8A9EE2
secondary
#EFEAD8
accent
#A11EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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