#989BF5#989BF5

#989BF5 is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.4% C 0.130 H 281.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#989BF5
RGBrgb(152, 155, 245)
HSLhsl(238, 82%, 78%)
HSVhsv(238, 38%, 96%)
CMYKcmyk(38%, 36.7%, 0%, 3.9%)
CIE-LABlab(67.06, 20.23, -45.38)
CIE-LCHlch(67.06, 49.69, 294.03°)
OKLaboklab(72.37% 0.0252 -0.1273)
OKLCHoklch(72.37% 0.13 281.2)
XYZxyz(41.1470, 36.7091, 91.2861)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989BF5 #F5F298
analogous
#98C9F5 #989BF5 #C498F5
triadic
#989BF5 #F5989B #9BF598
tetradic
#989BF5 #F598C9 #F5F298 #98F5C4
square
#989BF5 #F598C9 #F5F298 #98F5C4
split-complementary
#989BF5 #F5C498 #C9F598
monochromatic
#282FEA #6065F0 #989BF5 #D0D1FA #E3E4FC

Accessibility & contrast

On white

2.52
#989BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#989BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989BF5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989BF5#FFFFFF#000000##000000
##989BF51.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7F9
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#7DADBC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #989bf5;
/* rgb */ color: rgb(152, 155, 245);
/* oklch */ color: oklch(72.4% 0.130 281.2);
Tailwind
colors: {
  custom: {
    50: '#b9b8f9',
    500: '#989bf5',
    950: '#000000',
  },
}
SCSS
$custom: #989bf5;
$custom-light: #b9b8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#989bf5",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 245
  },
  "hsl": {
    "h": 238.065,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72371,
    "c": 0.1298,
    "h": 281.2
  },
  "luminance": 0.36711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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