#8A9EF9#8A9EF9

#8A9EF9 is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.2% C 0.134 H 273.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8A9EF9
RGBrgb(138, 158, 249)
HSLhsl(229, 90%, 76%)
HSVhsv(229, 45%, 98%)
CMYKcmyk(44.6%, 36.5%, 0%, 2.4%)
CIE-LABlab(67.05, 16.11, -47.65)
CIE-LCHlch(67.05, 50.30, 288.68°)
OKLaboklab(72.18% 0.0075 -0.1342)
OKLCHoklch(72.18% 0.134 273.2)
XYZxyz(39.8017, 36.6944, 94.5897)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF9 #F9E58A
analogous
#8AD5F9 #8A9EF9 #AD8AF9
triadic
#8A9EF9 #F98A9E #9EF98A
tetradic
#8A9EF9 #F98AD5 #F9E58A #8AF9AD
square
#8A9EF9 #F98AD5 #F9E58A #8AF9AD
split-complementary
#8A9EF9 #F9AD8A #D5F98A
monochromatic
#163DF3 #506EF6 #8A9EF9 #C4CEFC #E2E7FE

Accessibility & contrast

On white

2.52
#8A9EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8A9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF9#FFFFFF#000000##000000
##8A9EF91.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#63B1C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ef9;
/* rgb */ color: rgb(138, 158, 249);
/* oklch */ color: oklch(72.2% 0.134 273.2);
Tailwind
colors: {
  custom: {
    50: '#b1bafb',
    500: '#8a9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef9;
$custom-light: #b1bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef9",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 229.189,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7218,
    "c": 0.1344,
    "h": 273.2
  },
  "luminance": 0.36697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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