#8A9DF9#8A9DF9

#8A9DF9 is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.0% C 0.136 H 273.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8A9DF9
RGBrgb(138, 157, 249)
HSLhsl(230, 90%, 76%)
HSVhsv(230, 45%, 98%)
CMYKcmyk(44.6%, 36.9%, 0%, 2.4%)
CIE-LABlab(66.79, 16.69, -48.06)
CIE-LCHlch(66.79, 50.87, 289.15°)
OKLaboklab(71.98% 0.0087 -0.1354)
OKLCHoklch(71.98% 0.136 273.7)
XYZxyz(39.6318, 36.3546, 94.5330)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DF9 #F9E68A
analogous
#8AD4F9 #8A9DF9 #AE8AF9
triadic
#8A9DF9 #F98A9D #9DF98A
tetradic
#8A9DF9 #F98AD4 #F9E68A #8AF9AE
square
#8A9DF9 #F98AD4 #F9E68A #8AF9AE
split-complementary
#8A9DF9 #F9AE8A #D4F98A
monochromatic
#163BF3 #506CF6 #8A9DF9 #C4CEFC #E2E7FE

Accessibility & contrast

On white

2.54
#8A9DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#8A9DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DF9
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DF9#FFFFFF#000000##000000
##8A9DF91.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#63B0BF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9df9;
/* rgb */ color: rgb(138, 157, 249);
/* oklch */ color: oklch(72.0% 0.136 273.7);
Tailwind
colors: {
  custom: {
    50: '#b1b9fb',
    500: '#8a9df9',
    950: '#000000',
  },
}
SCSS
$custom: #8a9df9;
$custom-light: #b1b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9df9",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 249
  },
  "hsl": {
    "h": 229.73,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71982,
    "c": 0.13565,
    "h": 273.7
  },
  "luminance": 0.36357
}

Semantic roles & 50–950 ramp

primary
#8A9DF9
secondary
#F6F0D5
accent
#BE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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