#8A9EF8#8A9EF8

#8A9EF8 is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.1% C 0.133 H 273.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8A9EF8
RGBrgb(138, 158, 248)
HSLhsl(229, 89%, 76%)
HSVhsv(229, 44%, 97%)
CMYKcmyk(44.4%, 36.3%, 0%, 2.7%)
CIE-LABlab(67.00, 15.83, -47.18)
CIE-LCHlch(67.00, 49.76, 288.54°)
OKLaboklab(72.13% 0.0073 -0.1328)
OKLCHoklch(72.13% 0.133 273.1)
XYZxyz(39.6461, 36.6322, 93.7704)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF8 #F8E48A
analogous
#8AD5F8 #8A9EF8 #AD8AF8
triadic
#8A9EF8 #F88A9E #9EF88A
tetradic
#8A9EF8 #F88AD5 #F8E48A #8AF8AD
square
#8A9EF8 #F88AD5 #F8E48A #8AF8AD
split-complementary
#8A9EF8 #F8AD8A #D5F88A
monochromatic
#173EF1 #506EF5 #8A9EF8 #C4CEFB #E2E7FD

Accessibility & contrast

On white

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

On black

8.33
#8A9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF8#FFFFFF#000000##000000
##8A9EF81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#63B0BF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ef8;
/* rgb */ color: rgb(138, 158, 248);
/* oklch */ color: oklch(72.1% 0.133 273.1);
Tailwind
colors: {
  custom: {
    50: '#b1bafb',
    500: '#8a9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef8;
$custom-light: #b1bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef8",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 229.091,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.13302,
    "h": 273.1
  },
  "luminance": 0.36634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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