#8A9AE2#8A9AE2

#8A9AE2 is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.2% C 0.107 H 273.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9AE2
RGBrgb(138, 154, 226)
HSLhsl(229, 60%, 71%)
HSVhsv(229, 39%, 89%)
CMYKcmyk(38.9%, 31.9%, 0%, 11.4%)
CIE-LABlab(64.97, 11.97, -38.29)
CIE-LCHlch(64.97, 40.12, 287.36°)
OKLaboklab(70.23% 0.007 -0.1071)
OKLCHoklch(70.23% 0.107 273.8)
XYZxyz(35.7602, 34.0039, 76.6159)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AE2 #E2D28A
analogous
#8AC6E2 #8A9AE2 #A68AE2
triadic
#8A9AE2 #E28A9A #9AE28A
tetradic
#8A9AE2 #E28AC6 #E2D28A #8AE2A6
square
#8A9AE2 #E28AC6 #E2D28A #8AE2A6
split-complementary
#8A9AE2 #E2A68A #C6E28A
monochromatic
#304AC2 #5970D6 #8A9AE2 #BBC4EE #E6EAF9

Accessibility & contrast

On white

2.69
#8A9AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8A9AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AE2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AE2#FFFFFF#000000##000000
##8A9AE21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A1E5
Deuteranopia (green-blind)
#7B9AE0
Tritanopia (blue-blind)
#6FA8B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9ae2;
/* rgb */ color: rgb(138, 154, 226);
/* oklch */ color: oklch(70.2% 0.107 273.8);
Tailwind
colors: {
  custom: {
    50: '#afb7eb',
    500: '#8a9ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ae2;
$custom-light: #afb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ae2",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 226
  },
  "hsl": {
    "h": 229.091,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70231,
    "c": 0.10729,
    "h": 273.8
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#8A9AE2
secondary
#EFEBD8
accent
#A91EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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