#989EF2#989EF2

#989EF2 is a light, vivid blue. Relative luminance 0.375; OKLCH L 72.8% C 0.122 H 279.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#989EF2
RGBrgb(152, 158, 242)
HSLhsl(236, 78%, 77%)
HSVhsv(236, 37%, 95%)
CMYKcmyk(37.2%, 34.7%, 0%, 5.1%)
CIE-LABlab(67.68, 17.71, -42.77)
CIE-LCHlch(67.68, 46.29, 292.50°)
OKLaboklab(72.8% 0.0207 -0.1197)
OKLCHoklch(72.8% 0.122 279.8)
XYZxyz(41.1982, 37.5384, 89.0621)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF2 #F2EC98
analogous
#98CBF2 #989EF2 #BF98F2
triadic
#989EF2 #F2989E #9EF298
tetradic
#989EF2 #F298CB #F2EC98 #98F2BF
square
#989EF2 #F298CB #F2EC98 #98F2BF
split-complementary
#989EF2 #F2BF98 #CBF298
monochromatic
#2B38E4 #626BEB #989EF2 #CED1F9 #E4E5FC

Accessibility & contrast

On white

2.47
#989EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#989EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF2#FFFFFF#000000##000000
##989EF21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#7EAEBD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989ef2;
/* rgb */ color: rgb(152, 158, 242);
/* oklch */ color: oklch(72.8% 0.122 279.8);
Tailwind
colors: {
  custom: {
    50: '#b9baf6',
    500: '#989ef2',
    950: '#000000',
  },
}
SCSS
$custom: #989ef2;
$custom-light: #b9baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef2",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 236,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72803,
    "c": 0.12152,
    "h": 279.8
  },
  "luminance": 0.3754
}

Semantic roles & 50–950 ramp

primary
#989EF2
secondary
#F3F2D8
accent
#CC0CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #989EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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