#989EF9#989EF9

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

Color values

HEX#989EF9
RGBrgb(152, 158, 249)
HSLhsl(236, 89%, 79%)
HSVhsv(236, 39%, 98%)
CMYKcmyk(39%, 36.5%, 0%, 2.4%)
CIE-LABlab(68.00, 19.60, -46.09)
CIE-LCHlch(68.00, 50.09, 293.04°)
OKLaboklab(73.15% 0.0222 -0.1294)
OKLCHoklch(73.15% 0.131 279.7)
XYZxyz(42.2697, 37.9670, 94.7053)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF9 #F9F398
analogous
#98CEF9 #989EF9 #C298F9
triadic
#989EF9 #F9989E #9EF998
tetradic
#989EF9 #F998CE #F9F398 #98F9C2
square
#989EF9 #F998CE #F9F398 #98F9C2
split-complementary
#989EF9 #F9C298 #CEF998
monochromatic
#2431F2 #5E68F6 #989EF9 #D2D4FC #E2E4FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989EF9#FFFFFF#000000##000000
##989EF91.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)
#7FA9FD
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#7BB0C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989ef9;
/* rgb */ color: rgb(152, 158, 249);
/* oklch */ color: oklch(73.2% 0.131 279.7);
Tailwind
colors: {
  custom: {
    50: '#babafb',
    500: '#989ef9',
    950: '#000000',
  },
}
SCSS
$custom: #989ef9;
$custom-light: #babafb;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef9",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 236.289,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73151,
    "c": 0.13128,
    "h": 279.7
  },
  "luminance": 0.37969
}

Semantic roles & 50–950 ramp

primary
#989EF9
secondary
#F5F3D6
accent
#D700E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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