#989EFD#989EFD

#989EFD is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.4% C 0.137 H 279.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#989EFD
RGBrgb(152, 158, 253)
HSLhsl(236, 96%, 79%)
HSVhsv(236, 40%, 99%)
CMYKcmyk(39.9%, 37.5%, 0%, 0.8%)
CIE-LABlab(68.18, 20.69, -47.98)
CIE-LCHlch(68.18, 52.25, 293.32°)
OKLaboklab(73.35% 0.0231 -0.1349)
OKLCHoklch(73.35% 0.137 279.7)
XYZxyz(42.9002, 38.2192, 98.0261)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EFD #FDF798
analogous
#98D0FD #989EFD #C598FD
triadic
#989EFD #FD989E #9EFD98
tetradic
#989EFD #FD98D0 #FDF798 #98FDC5
square
#989EFD #FD98D0 #FDF798 #98FDC5
split-complementary
#989EFD #FDC598 #D0FD98
monochromatic
#202DFB #5C65FC #989EFD #D4D7FE #E1E3FE

Accessibility & contrast

On white

2.43
#989EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#989EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EFD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EFD#FFFFFF#000000##000000
##989EFD1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#79B1C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989efd;
/* rgb */ color: rgb(152, 158, 253);
/* oklch */ color: oklch(73.4% 0.137 279.7);
Tailwind
colors: {
  custom: {
    50: '#babafe',
    500: '#989efd',
    950: '#000000',
  },
}
SCSS
$custom: #989efd;
$custom-light: #babafe;
$custom-dark: #000000;
JSON
{
  "hex": "#989efd",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 236.436,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73354,
    "c": 0.13683,
    "h": 279.7
  },
  "luminance": 0.38221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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