#8A9DFD#8A9DFD

#8A9DFD is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.2% C 0.141 H 273.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A9DFD
RGBrgb(138, 157, 253)
HSLhsl(230, 97%, 77%)
HSVhsv(230, 45%, 99%)
CMYKcmyk(45.5%, 37.9%, 0%, 0.8%)
CIE-LABlab(66.98, 17.84, -49.93)
CIE-LCHlch(66.98, 53.02, 289.66°)
OKLaboklab(72.19% 0.0095 -0.1408)
OKLCHoklch(72.19% 0.141 273.9)
XYZxyz(40.2623, 36.6068, 97.8538)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DFD #FDEA8A
analogous
#8AD7FD #8A9DFD #B18AFD
triadic
#8A9DFD #FD8A9D #9DFD8A
tetradic
#8A9DFD #FD8AD7 #FDEA8A #8AFDB1
square
#8A9DFD #FD8AD7 #FDEA8A #8AFDB1
split-complementary
#8A9DFD #FDB18A #D7FD8A
monochromatic
#1238FB #4E6BFC #8A9DFD #C6CFFE #E1E6FE

Accessibility & contrast

On white

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

On black

8.32
#8A9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DFD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DFD#FFFFFF#000000##000000
##8A9DFD1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#60B1C1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9dfd;
/* rgb */ color: rgb(138, 157, 253);
/* oklch */ color: oklch(72.2% 0.141 273.9);
Tailwind
colors: {
  custom: {
    50: '#b1b9fe',
    500: '#8a9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dfd;
$custom-light: #b1b9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dfd",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 230.087,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72191,
    "c": 0.14117,
    "h": 273.9
  },
  "luminance": 0.36609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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