#8A9EE7#8A9EE7

#8A9EE7 is a light, moderate blue. Relative luminance 0.356; OKLCH L 71.3% C 0.109 H 271.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A9EE7
RGBrgb(138, 158, 231)
HSLhsl(227, 66%, 72%)
HSVhsv(227, 40%, 91%)
CMYKcmyk(40.3%, 31.6%, 0%, 9.4%)
CIE-LABlab(66.23, 11.05, -39.07)
CIE-LCHlch(66.23, 40.60, 285.80°)
OKLaboklab(71.28% 0.0032 -0.1093)
OKLCHoklch(71.28% 0.109 271.7)
XYZxyz(37.1275, 35.6247, 80.5058)
Luminance0.3563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EE7 #E7D38A
analogous
#8ACCE7 #8A9EE7 #A58AE7
triadic
#8A9EE7 #E78A9E #9EE78A
tetradic
#8A9EE7 #E78ACC #E7D38A #8AE7A5
square
#8A9EE7 #E78ACC #E7D38A #8AE7A5
split-complementary
#8A9EE7 #E7A58A #CCE78A
monochromatic
#2A4DCD #5774DD #8A9EE7 #BDC8F1 #E6EAFA

Accessibility & contrast

On white

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

On black

8.13
#8A9EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EE7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EE7#FFFFFF#000000##000000
##8A9EE71.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A5EA
Deuteranopia (green-blind)
#7D9DE5
Tritanopia (blue-blind)
#6CADB8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9ee7;
/* rgb */ color: rgb(138, 158, 231);
/* oklch */ color: oklch(71.3% 0.109 271.7);
Tailwind
colors: {
  custom: {
    50: '#afbaef',
    500: '#8a9ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ee7;
$custom-light: #afbaef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ee7",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 231
  },
  "hsl": {
    "h": 227.097,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71283,
    "c": 0.10935,
    "h": 271.7
  },
  "luminance": 0.35627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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