#8A9AF8#8A9AF8

#8A9AF8 is a light, vivid blue. Relative luminance 0.353; OKLCH L 71.3% C 0.138 H 275.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A9AF8
RGBrgb(138, 154, 248)
HSLhsl(231, 89%, 76%)
HSVhsv(231, 44%, 97%)
CMYKcmyk(44.4%, 37.9%, 0%, 2.7%)
CIE-LABlab(65.97, 18.13, -48.80)
CIE-LCHlch(65.97, 52.06, 290.38°)
OKLaboklab(71.34% 0.0121 -0.1375)
OKLCHoklch(71.34% 0.138 275)
XYZxyz(38.9749, 35.2897, 93.5467)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AF8 #F8E88A
analogous
#8AD1F8 #8A9AF8 #B18AF8
triadic
#8A9AF8 #F88A9A #9AF88A
tetradic
#8A9AF8 #F88AD1 #F8E88A #8AF8B1
square
#8A9AF8 #F88AD1 #F8E88A #8AF8B1
split-complementary
#8A9AF8 #F8B18A #D1F88A
monochromatic
#1736F1 #5068F5 #8A9AF8 #C4CCFB #E2E6FD

Accessibility & contrast

On white

2.61
#8A9AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#8A9AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AF8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AF8#FFFFFF#000000##000000
##8A9AF81.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#64ADBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a9af8;
/* rgb */ color: rgb(138, 154, 248);
/* oklch */ color: oklch(71.3% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#b1b7fb',
    500: '#8a9af8',
    950: '#000000',
  },
}
SCSS
$custom: #8a9af8;
$custom-light: #b1b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9af8",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 248
  },
  "hsl": {
    "h": 231.273,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71338,
    "c": 0.13808,
    "h": 275
  },
  "luminance": 0.35292
}

Semantic roles & 50–950 ramp

primary
#8A9AF8
secondary
#F5F1D6
accent
#C400E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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