#8B9EFE#8B9EFE

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

Color values

HEX#8B9EFE
RGBrgb(139, 158, 254)
HSLhsl(230, 98%, 77%)
HSVhsv(230, 45%, 100%)
CMYKcmyk(45.3%, 37.8%, 0%, 0.4%)
CIE-LABlab(67.35, 17.78, -49.89)
CIE-LCHlch(67.35, 52.97, 289.62°)
OKLaboklab(72.51% 0.0096 -0.1407)
OKLCHoklch(72.51% 0.141 273.9)
XYZxyz(40.7582, 37.0962, 98.7594)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9EFE #FEEB8B
analogous
#8BD8FE #8B9EFE #B28BFE
triadic
#8B9EFE #FE8B9E #9EFE8B
tetradic
#8B9EFE #FE8BD8 #FEEB8B #8BFEB2
square
#8B9EFE #FE8BD8 #FEEB8B #8BFEB2
split-complementary
#8B9EFE #FEB28B #D8FE8B
monochromatic
#1239FD #4E6BFD #8B9EFE #C8D1FF #E1E6FF

Accessibility & contrast

On white

2.49
#8B9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#8B9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9EFE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9EFE#FFFFFF#000000##000000
##8B9EFE1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#70A0FC
Tritanopia (blue-blind)
#61B2C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8b9efe;
/* rgb */ color: rgb(139, 158, 254);
/* oklch */ color: oklch(72.5% 0.141 273.9);
Tailwind
colors: {
  custom: {
    50: '#b2baff',
    500: '#8b9efe',
    950: '#000000',
  },
}
SCSS
$custom: #8b9efe;
$custom-light: #b2baff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9efe",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 230.087,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72506,
    "c": 0.14104,
    "h": 273.9
  },
  "luminance": 0.37098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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