#989BEF#989BEF

#989BEF is a light, vivid blue. Relative luminance 0.363; OKLCH L 72.1% C 0.121 H 281.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#989BEF
RGBrgb(152, 155, 239)
HSLhsl(238, 73%, 77%)
HSVhsv(238, 36%, 94%)
CMYKcmyk(36.4%, 35.1%, 0%, 6.3%)
CIE-LABlab(66.79, 18.63, -42.53)
CIE-LCHlch(66.79, 46.43, 293.65°)
OKLaboklab(72.07% 0.0239 -0.119)
OKLCHoklch(72.07% 0.121 281.3)
XYZxyz(40.2458, 36.3486, 86.5401)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989BEF #EFEC98
analogous
#98C7EF #989BEF #C198EF
triadic
#989BEF #EF989B #9BEF98
tetradic
#989BEF #EF98C7 #EFEC98 #98EFC1
square
#989BEF #EF98C7 #EFEC98 #98EFC1
split-complementary
#989BEF #EFC198 #C7EF98
monochromatic
#2E34DF #6368E7 #989BEF #CDCEF7 #E5E5FB

Accessibility & contrast

On white

2.54
#989BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#989BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989BEF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989BEF#FFFFFF#000000##000000
##989BEF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F2
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#80ABBA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #989bef;
/* rgb */ color: rgb(152, 155, 239);
/* oklch */ color: oklch(72.1% 0.121 281.3);
Tailwind
colors: {
  custom: {
    50: '#b9b8f4',
    500: '#989bef',
    950: '#000000',
  },
}
SCSS
$custom: #989bef;
$custom-light: #b9b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#989bef",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 237.931,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72072,
    "c": 0.12142,
    "h": 281.3
  },
  "luminance": 0.3635
}

Semantic roles & 50–950 ramp

primary
#989BEF
secondary
#F3F2D8
accent
#CE10D5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #989BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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