#8A9EFE#8A9EFE

#8A9EFE is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.4% C 0.141 H 273.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A9EFE
RGBrgb(138, 158, 254)
HSLhsl(230, 98%, 77%)
HSVhsv(230, 46%, 100%)
CMYKcmyk(45.7%, 37.8%, 0%, 0.4%)
CIE-LABlab(67.28, 17.55, -50.00)
CIE-LCHlch(67.28, 52.99, 289.34°)
OKLaboklab(72.44% 0.0086 -0.141)
OKLCHoklch(72.44% 0.141 273.5)
XYZxyz(40.5919, 37.0105, 98.7516)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EFE #FEEA8A
analogous
#8AD8FE #8A9EFE #B08AFE
triadic
#8A9EFE #FE8A9E #9EFE8A
tetradic
#8A9EFE #FE8AD8 #FEEA8A #8AFEB0
square
#8A9EFE #FE8AD8 #FEEA8A #8AFEB0
split-complementary
#8A9EFE #FEB08A #D8FE8A
monochromatic
#1139FD #4D6CFD #8A9EFE #C7D0FF #E1E6FF

Accessibility & contrast

On white

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

On black

8.40
#8A9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EFE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EFE#FFFFFF#000000##000000
##8A9EFE1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#5FB2C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9efe;
/* rgb */ color: rgb(138, 158, 254);
/* oklch */ color: oklch(72.4% 0.141 273.5);
Tailwind
colors: {
  custom: {
    50: '#b1baff',
    500: '#8a9efe',
    950: '#000000',
  },
}
SCSS
$custom: #8a9efe;
$custom-light: #b1baff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9efe",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 229.655,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.14129,
    "h": 273.5
  },
  "luminance": 0.37013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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