#8A9AF9#8A9AF9

#8A9AF9 is a light, vivid blue. Relative luminance 0.354; OKLCH L 71.4% C 0.139 H 275.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A9AF9
RGBrgb(138, 154, 249)
HSLhsl(231, 90%, 76%)
HSVhsv(231, 45%, 98%)
CMYKcmyk(44.6%, 38.2%, 0%, 2.4%)
CIE-LABlab(66.02, 18.42, -49.27)
CIE-LCHlch(66.02, 52.60, 290.50°)
OKLaboklab(71.39% 0.0123 -0.1389)
OKLCHoklch(71.39% 0.139 275.1)
XYZxyz(39.1305, 35.3520, 94.3659)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AF9 #F9E98A
analogous
#8AD2F9 #8A9AF9 #B18AF9
triadic
#8A9AF9 #F98A9A #9AF98A
tetradic
#8A9AF9 #F98AD2 #F9E98A #8AF9B1
square
#8A9AF9 #F98AD2 #F9E98A #8AF9B1
split-complementary
#8A9AF9 #F9B18A #D2F98A
monochromatic
#1635F3 #5068F6 #8A9AF9 #C4CCFC #E2E6FE

Accessibility & contrast

On white

2.60
#8A9AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#8A9AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AF9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AF9#FFFFFF#000000##000000
##8A9AF91.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#63AEBE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a9af9;
/* rgb */ color: rgb(138, 154, 249);
/* oklch */ color: oklch(71.4% 0.139 275.1);
Tailwind
colors: {
  custom: {
    50: '#b1b7fb',
    500: '#8a9af9',
    950: '#000000',
  },
}
SCSS
$custom: #8a9af9;
$custom-light: #b1b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9af9",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 249
  },
  "hsl": {
    "h": 231.351,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71391,
    "c": 0.13946,
    "h": 275.1
  },
  "luminance": 0.35354
}

Semantic roles & 50–950 ramp

primary
#8A9AF9
secondary
#F6F1D5
accent
#C400E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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