#8A9AE5#8A9AE5

#8A9AE5 is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.4% C 0.112 H 274.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A9AE5
RGBrgb(138, 154, 229)
HSLhsl(229, 64%, 72%)
HSVhsv(229, 40%, 90%)
CMYKcmyk(39.7%, 32.8%, 0%, 10.2%)
CIE-LABlab(65.10, 12.79, -39.74)
CIE-LCHlch(65.10, 41.75, 287.84°)
OKLaboklab(70.38% 0.0078 -0.1112)
OKLCHoklch(70.38% 0.112 274)
XYZxyz(36.1755, 34.1700, 78.8029)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AE5 #E5D58A
analogous
#8AC7E5 #8A9AE5 #A88AE5
triadic
#8A9AE5 #E58A9A #9AE58A
tetradic
#8A9AE5 #E58AC7 #E5D58A #8AE5A8
square
#8A9AE5 #E58AC7 #E5D58A #8AE5A8
split-complementary
#8A9AE5 #E5A88A #C7E58A
monochromatic
#2C48C8 #586FDA #8A9AE5 #BCC5F0 #E6E9F9

Accessibility & contrast

On white

2.68
#8A9AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#8A9AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AE5
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AE5#FFFFFF#000000##000000
##8A9AE51.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E8
Deuteranopia (green-blind)
#799BE3
Tritanopia (blue-blind)
#6DA9B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9ae5;
/* rgb */ color: rgb(138, 154, 229);
/* oklch */ color: oklch(70.4% 0.112 274.0);
Tailwind
colors: {
  custom: {
    50: '#afb7ed',
    500: '#8a9ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ae5;
$custom-light: #afb7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ae5",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 229
  },
  "hsl": {
    "h": 229.451,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70376,
    "c": 0.11152,
    "h": 274
  },
  "luminance": 0.34172
}

Semantic roles & 50–950 ramp

primary
#8A9AE5
secondary
#F1EDDA
accent
#AC1ACB
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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