#989AF4#989AF4

#989AF4 is a light, vivid blue. Relative luminance 0.363; OKLCH L 72.1% C 0.130 H 281.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#989AF4
RGBrgb(152, 154, 244)
HSLhsl(239, 81%, 78%)
HSVhsv(239, 38%, 96%)
CMYKcmyk(37.7%, 36.9%, 0%, 4.3%)
CIE-LABlab(66.76, 20.54, -45.30)
CIE-LCHlch(66.76, 49.74, 294.38°)
OKLaboklab(72.13% 0.0262 -0.1271)
OKLCHoklch(72.13% 0.13 281.7)
XYZxyz(40.8290, 36.3167, 90.4290)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989AF4 #F4F298
analogous
#98C8F4 #989AF4 #C498F4
triadic
#989AF4 #F4989A #9AF498
tetradic
#989AF4 #F498C8 #F4F298 #98F4C4
square
#989AF4 #F498C8 #F4F298 #98F4C4
split-complementary
#989AF4 #F4C498 #C8F498
monochromatic
#292EE8 #6164EE #989AF4 #CFD0FA #E3E4FC

Accessibility & contrast

On white

2.54
#989AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#989AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989AF4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989AF4#FFFFFF#000000##000000
##989AF41.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F8
Deuteranopia (green-blind)
#789FF2
Tritanopia (blue-blind)
#7EABBB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #989af4;
/* rgb */ color: rgb(152, 154, 244);
/* oklch */ color: oklch(72.1% 0.130 281.7);
Tailwind
colors: {
  custom: {
    50: '#b9b7f8',
    500: '#989af4',
    950: '#000000',
  },
}
SCSS
$custom: #989af4;
$custom-light: #b9b7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#989af4",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 244
  },
  "hsl": {
    "h": 238.696,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.12978,
    "h": 281.7
  },
  "luminance": 0.36318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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