#989DFE#989DFE

#989DFE is a light, vivid blue. Relative luminance 0.379; OKLCH L 73.2% C 0.140 H 280.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#989DFE
RGBrgb(152, 157, 254)
HSLhsl(237, 98%, 80%)
HSVhsv(237, 40%, 100%)
CMYKcmyk(40.2%, 38.2%, 0%, 0.4%)
CIE-LABlab(67.98, 21.53, -48.84)
CIE-LCHlch(67.98, 53.38, 293.79°)
OKLaboklab(73.21% 0.0245 -0.1374)
OKLCHoklch(73.21% 0.14 280.1)
XYZxyz(42.8900, 37.9433, 98.8106)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989DFE #FEF998
analogous
#98D0FE #989DFE #C698FE
triadic
#989DFE #FE989D #9DFE98
tetradic
#989DFE #FE98D0 #FEF998 #98FEC6
square
#989DFE #FE98D0 #FEF998 #98FEC6
split-complementary
#989DFE #FEC698 #D0FE98
monochromatic
#1F2AFD #5B63FD #989DFE #D5D7FF #E1E2FF

Accessibility & contrast

On white

2.44
#989DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#989DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989DFE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989DFE#FFFFFF#000000##000000
##989DFE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#79B0C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989dfe;
/* rgb */ color: rgb(152, 157, 254);
/* oklch */ color: oklch(73.2% 0.140 280.1);
Tailwind
colors: {
  custom: {
    50: '#bab9ff',
    500: '#989dfe',
    950: '#000000',
  },
}
SCSS
$custom: #989dfe;
$custom-light: #bab9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#989dfe",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 237.059,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.73214,
    "c": 0.13956,
    "h": 280.1
  },
  "luminance": 0.37945
}

Semantic roles & 50–950 ramp

primary
#989DFE
secondary
#F7F5D4
accent
#DA00E6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #989DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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