#8A9EE8#8A9EE8

#8A9EE8 is a light, moderate blue. Relative luminance 0.357; OKLCH L 71.3% C 0.111 H 271.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A9EE8
RGBrgb(138, 158, 232)
HSLhsl(227, 67%, 73%)
HSVhsv(227, 41%, 91%)
CMYKcmyk(40.5%, 31.9%, 0%, 9%)
CIE-LABlab(66.28, 11.33, -39.55)
CIE-LCHlch(66.28, 41.14, 285.98°)
OKLaboklab(71.33% 0.0035 -0.1107)
OKLCHoklch(71.33% 0.111 271.8)
XYZxyz(37.2692, 35.6814, 81.2517)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EE8 #E8D48A
analogous
#8ACDE8 #8A9EE8 #A58AE8
triadic
#8A9EE8 #E88A9E #9EE88A
tetradic
#8A9EE8 #E88ACD #E8D48A #8AE8A5
square
#8A9EE8 #E88ACD #E8D48A #8AE8A5
split-complementary
#8A9EE8 #E8A58A #CDE88A
monochromatic
#294CCF #5774DE #8A9EE8 #BDC8F2 #E5EAFA

Accessibility & contrast

On white

2.58
#8A9EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#8A9EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EE8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EE8#FFFFFF#000000##000000
##8A9EE81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A5EB
Deuteranopia (green-blind)
#7D9DE6
Tritanopia (blue-blind)
#6CADB9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9ee8;
/* rgb */ color: rgb(138, 158, 232);
/* oklch */ color: oklch(71.3% 0.111 271.8);
Tailwind
colors: {
  custom: {
    50: '#afbaef',
    500: '#8a9ee8',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ee8;
$custom-light: #afbaef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ee8",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 232
  },
  "hsl": {
    "h": 227.234,
    "s": 67.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.11076,
    "h": 271.8
  },
  "luminance": 0.35683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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