#989EF5#989EF5

#989EF5 is a light, vivid blue. Relative luminance 0.377; OKLCH L 73.0% C 0.126 H 279.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#989EF5
RGBrgb(152, 158, 245)
HSLhsl(236, 82%, 78%)
HSVhsv(236, 38%, 96%)
CMYKcmyk(38%, 35.5%, 0%, 3.9%)
CIE-LABlab(67.81, 18.52, -44.20)
CIE-LCHlch(67.81, 47.92, 292.73°)
OKLaboklab(72.95% 0.0214 -0.1239)
OKLCHoklch(72.95% 0.126 279.8)
XYZxyz(41.6524, 37.7201, 91.4545)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF5 #F5EF98
analogous
#98CCF5 #989EF5 #C098F5
triadic
#989EF5 #F5989E #9EF598
tetradic
#989EF5 #F598CC #F5EF98 #98F5C0
square
#989EF5 #F598CC #F5EF98 #98F5C0
split-complementary
#989EF5 #F5C098 #CCF598
monochromatic
#2835EA #6069F0 #989EF5 #D0D3FA #E3E5FC

Accessibility & contrast

On white

2.46
#989EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#989EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF5#FFFFFF#000000##000000
##989EF51.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9F8
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#7DAFBE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989ef5;
/* rgb */ color: rgb(152, 158, 245);
/* oklch */ color: oklch(73.0% 0.126 279.8);
Tailwind
colors: {
  custom: {
    50: '#b9baf9',
    500: '#989ef5',
    950: '#000000',
  },
}
SCSS
$custom: #989ef5;
$custom-light: #b9baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef5",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 236.129,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.12572,
    "h": 279.8
  },
  "luminance": 0.37722
}

Semantic roles & 50–950 ramp

primary
#989EF5
secondary
#F4F2D7
accent
#D107DF
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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