#989CF9#989CF9

#989CF9 is a light, vivid blue. Relative luminance 0.373; OKLCH L 72.8% C 0.134 H 280.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#989CF9
RGBrgb(152, 156, 249)
HSLhsl(238, 89%, 79%)
HSVhsv(238, 39%, 98%)
CMYKcmyk(39%, 37.3%, 0%, 2.4%)
CIE-LABlab(67.49, 20.74, -46.88)
CIE-LCHlch(67.49, 51.26, 293.87°)
OKLaboklab(72.77% 0.0247 -0.1317)
OKLCHoklch(72.77% 0.134 280.6)
XYZxyz(41.9313, 37.2902, 94.5925)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989CF9 #F9F598
analogous
#98CCF9 #989CF9 #C498F9
triadic
#989CF9 #F9989C #9CF998
tetradic
#989CF9 #F998CC #F9F598 #98F9C4
square
#989CF9 #F998CC #F9F598 #98F9C4
split-complementary
#989CF9 #F9C498 #CCF998
monochromatic
#242DF2 #5E64F6 #989CF9 #D2D4FC #E2E3FD

Accessibility & contrast

On white

2.48
#989CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#989CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989CF9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989CF9#FFFFFF#000000##000000
##989CF91.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#7BAEBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989cf9;
/* rgb */ color: rgb(152, 156, 249);
/* oklch */ color: oklch(72.8% 0.134 280.6);
Tailwind
colors: {
  custom: {
    50: '#bab9fb',
    500: '#989cf9',
    950: '#000000',
  },
}
SCSS
$custom: #989cf9;
$custom-light: #bab9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#989cf9",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 249
  },
  "hsl": {
    "h": 237.526,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72766,
    "c": 0.13399,
    "h": 280.6
  },
  "luminance": 0.37292
}

Semantic roles & 50–950 ramp

primary
#989CF9
secondary
#F5F4D6
accent
#DC00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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