#8A9FE8#8A9FE8

#8A9FE8 is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.5% C 0.110 H 271.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A9FE8
RGBrgb(138, 159, 232)
HSLhsl(227, 67%, 73%)
HSVhsv(227, 41%, 91%)
CMYKcmyk(40.5%, 31.5%, 0%, 9%)
CIE-LABlab(66.54, 10.76, -39.14)
CIE-LCHlch(66.54, 40.59, 285.37°)
OKLaboklab(71.53% 0.0022 -0.1095)
OKLCHoklch(71.53% 0.11 271.2)
XYZxyz(37.4404, 36.0239, 81.3088)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FE8 #E8D38A
analogous
#8ACEE8 #8A9FE8 #A48AE8
triadic
#8A9FE8 #E88A9F #9FE88A
tetradic
#8A9FE8 #E88ACE #E8D38A #8AE8A4
square
#8A9FE8 #E88ACE #E8D38A #8AE8A4
split-complementary
#8A9FE8 #E8A48A #CEE88A
monochromatic
#294ECF #5775DE #8A9FE8 #BDC9F2 #E5EAFA

Accessibility & contrast

On white

2.56
#8A9FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#8A9FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FE8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FE8#FFFFFF#000000##000000
##8A9FE81.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A6EB
Deuteranopia (green-blind)
#7E9EE6
Tritanopia (blue-blind)
#6BAEB9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9fe8;
/* rgb */ color: rgb(138, 159, 232);
/* oklch */ color: oklch(71.5% 0.110 271.2);
Tailwind
colors: {
  custom: {
    50: '#afbbef',
    500: '#8a9fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8a9fe8;
$custom-light: #afbbef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9fe8",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 232
  },
  "hsl": {
    "h": 226.596,
    "s": 67.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.10953,
    "h": 271.2
  },
  "luminance": 0.36026
}

Semantic roles & 50–950 ramp

primary
#8A9FE8
secondary
#F1ECDA
accent
#A616CF
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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