#8A9EFD#8A9EFD

#8A9EFD is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.4% C 0.140 H 273.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8A9EFD
RGBrgb(138, 158, 253)
HSLhsl(230, 97%, 77%)
HSVhsv(230, 45%, 99%)
CMYKcmyk(45.5%, 37.5%, 0%, 0.8%)
CIE-LABlab(67.24, 17.26, -49.53)
CIE-LCHlch(67.24, 52.45, 289.21°)
OKLaboklab(72.39% 0.0084 -0.1397)
OKLCHoklch(72.39% 0.14 273.4)
XYZxyz(40.4322, 36.9466, 97.9104)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EFD #FDE98A
analogous
#8AD8FD #8A9EFD #B08AFD
triadic
#8A9EFD #FD8A9E #9EFD8A
tetradic
#8A9EFD #FD8AD8 #FDE98A #8AFDB0
square
#8A9EFD #FD8AD8 #FDE98A #8AFDB0
split-complementary
#8A9EFD #FDB08A #D8FD8A
monochromatic
#123AFB #4E6CFC #8A9EFD #C6D0FE #E1E6FE

Accessibility & contrast

On white

2.50
#8A9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#8A9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EFD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EFD#FFFFFF#000000##000000
##8A9EFD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#60B2C1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9efd;
/* rgb */ color: rgb(138, 158, 253);
/* oklch */ color: oklch(72.4% 0.140 273.4);
Tailwind
colors: {
  custom: {
    50: '#b1bafe',
    500: '#8a9efd',
    950: '#000000',
  },
}
SCSS
$custom: #8a9efd;
$custom-light: #b1bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9efd",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 229.565,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72388,
    "c": 0.13992,
    "h": 273.4
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#8A9EFD
secondary
#F7F1D4
accent
#BE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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