#989EF3#989EF3

#989EF3 is a light, vivid blue. Relative luminance 0.376; OKLCH L 72.9% C 0.123 H 279.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#989EF3
RGBrgb(152, 158, 243)
HSLhsl(236, 79%, 77%)
HSVhsv(236, 37%, 95%)
CMYKcmyk(37.4%, 35%, 0%, 4.7%)
CIE-LABlab(67.72, 17.98, -43.25)
CIE-LCHlch(67.72, 46.83, 292.58°)
OKLaboklab(72.85% 0.0209 -0.1211)
OKLCHoklch(72.85% 0.123 279.8)
XYZxyz(41.3488, 37.5986, 89.8553)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF3 #F3ED98
analogous
#98CBF3 #989EF3 #C098F3
triadic
#989EF3 #F3989E #9EF398
tetradic
#989EF3 #F398CB #F3ED98 #98F3C0
square
#989EF3 #F398CB #F3ED98 #98F3C0
split-complementary
#989EF3 #F3C098 #CBF398
monochromatic
#2A37E6 #616AED #989EF3 #CFD2F9 #E4E5FC

Accessibility & contrast

On white

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

On black

8.52
#989EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF3
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF3#FFFFFF#000000##000000
##989EF31.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#7DA2F1
Tritanopia (blue-blind)
#7EAEBD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989ef3;
/* rgb */ color: rgb(152, 158, 243);
/* oklch */ color: oklch(72.9% 0.123 279.8);
Tailwind
colors: {
  custom: {
    50: '#b9baf7',
    500: '#989ef3',
    950: '#000000',
  },
}
SCSS
$custom: #989ef3;
$custom-light: #b9baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef3",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 236.044,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72852,
    "c": 0.12292,
    "h": 279.8
  },
  "luminance": 0.376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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