#989EF6#989EF6

#989EF6 is a light, vivid blue. Relative luminance 0.378; OKLCH L 73.0% C 0.127 H 279.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#989EF6
RGBrgb(152, 158, 246)
HSLhsl(236, 84%, 78%)
HSVhsv(236, 38%, 96%)
CMYKcmyk(38.2%, 35.8%, 0%, 3.5%)
CIE-LABlab(67.86, 18.79, -44.67)
CIE-LCHlch(67.86, 48.46, 292.81°)
OKLaboklab(73% 0.0216 -0.1253)
OKLCHoklch(73% 0.127 279.8)
XYZxyz(41.8055, 37.7813, 92.2607)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF6 #F6F098
analogous
#98CDF6 #989EF6 #C198F6
triadic
#989EF6 #F6989E #9EF698
tetradic
#989EF6 #F698CD #F6F098 #98F6C1
square
#989EF6 #F698CD #F6F098 #98F6C1
split-complementary
#989EF6 #F6C198 #CDF698
monochromatic
#2734EC #6069F1 #989EF6 #D0D3FB #E3E4FD

Accessibility & contrast

On white

2.45
#989EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#989EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF6#FFFFFF#000000##000000
##989EF61.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9FA
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#7CAFBE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989ef6;
/* rgb */ color: rgb(152, 158, 246);
/* oklch */ color: oklch(73.0% 0.127 279.8);
Tailwind
colors: {
  custom: {
    50: '#b9baf9',
    500: '#989ef6',
    950: '#000000',
  },
}
SCSS
$custom: #989ef6;
$custom-light: #b9baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef6",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 236.17,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73001,
    "c": 0.1271,
    "h": 279.8
  },
  "luminance": 0.37783
}

Semantic roles & 50–950 ramp

primary
#989EF6
secondary
#F4F3D7
accent
#D205E0
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989EF6

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

Preview Lab → · Contrast checker → · Palette generator →

#989EF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva