#8A9DF8#8A9DF8

#8A9DF8 is a light, vivid blue. Relative luminance 0.363; OKLCH L 71.9% C 0.134 H 273.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8A9DF8
RGBrgb(138, 157, 248)
HSLhsl(230, 89%, 76%)
HSVhsv(230, 44%, 97%)
CMYKcmyk(44.4%, 36.7%, 0%, 2.7%)
CIE-LABlab(66.74, 16.40, -47.58)
CIE-LCHlch(66.74, 50.33, 289.02°)
OKLaboklab(71.93% 0.0085 -0.134)
OKLCHoklch(71.93% 0.134 273.6)
XYZxyz(39.4762, 36.2924, 93.7138)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DF8 #F8E58A
analogous
#8AD4F8 #8A9DF8 #AE8AF8
triadic
#8A9DF8 #F88A9D #9DF88A
tetradic
#8A9DF8 #F88AD4 #F8E58A #8AF8AE
square
#8A9DF8 #F88AD4 #F8E58A #8AF8AE
split-complementary
#8A9DF8 #F8AE8A #D4F88A
monochromatic
#173CF1 #506DF5 #8A9DF8 #C4CDFB #E2E7FD

Accessibility & contrast

On white

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

On black

8.26
#8A9DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DF8
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DF8#FFFFFF#000000##000000
##8A9DF81.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9df8;
/* rgb */ color: rgb(138, 157, 248);
/* oklch */ color: oklch(71.9% 0.134 273.6);
Tailwind
colors: {
  custom: {
    50: '#b1b9fb',
    500: '#8a9df8',
    950: '#000000',
  },
}
SCSS
$custom: #8a9df8;
$custom-light: #b1b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9df8",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 229.636,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7193,
    "c": 0.13427,
    "h": 273.6
  },
  "luminance": 0.36295
}

Semantic roles & 50–950 ramp

primary
#8A9DF8
secondary
#F5F0D6
accent
#BE00E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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