#989EF1#989EF1

#989EF1 is a light, vivid blue. Relative luminance 0.375; OKLCH L 72.8% C 0.120 H 279.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#989EF1
RGBrgb(152, 158, 241)
HSLhsl(236, 76%, 77%)
HSVhsv(236, 37%, 95%)
CMYKcmyk(36.9%, 34.4%, 0%, 5.5%)
CIE-LABlab(67.63, 17.45, -42.29)
CIE-LCHlch(67.63, 45.75, 292.42°)
OKLaboklab(72.76% 0.0204 -0.1184)
OKLCHoklch(72.76% 0.12 279.8)
XYZxyz(41.0484, 37.4784, 88.2733)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF1 #F1EB98
analogous
#98CBF1 #989EF1 #BF98F1
triadic
#989EF1 #F1989E #9EF198
tetradic
#989EF1 #F198CB #F1EB98 #98F1BF
square
#989EF1 #F198CB #F1EB98 #98F1BF
split-complementary
#989EF1 #F1BF98 #CBF198
monochromatic
#2C39E2 #626BEA #989EF1 #CED1F8 #E4E6FB

Accessibility & contrast

On white

2.47
#989EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#989EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF1#FFFFFF#000000##000000
##989EF11.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F4
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#7FAEBC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989ef1;
/* rgb */ color: rgb(152, 158, 241);
/* oklch */ color: oklch(72.8% 0.120 279.8);
Tailwind
colors: {
  custom: {
    50: '#b9baf6',
    500: '#989ef1',
    950: '#000000',
  },
}
SCSS
$custom: #989ef1;
$custom-light: #b9baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef1",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 241
  },
  "hsl": {
    "h": 235.955,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72755,
    "c": 0.12012,
    "h": 279.8
  },
  "luminance": 0.3748
}

Semantic roles & 50–950 ramp

primary
#989EF1
secondary
#F3F1D8
accent
#CB0DD8
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #989EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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