#989BF2#989BF2

#989BF2 is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.2% C 0.126 H 281.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#989BF2
RGBrgb(152, 155, 242)
HSLhsl(238, 78%, 77%)
HSVhsv(238, 37%, 95%)
CMYKcmyk(37.2%, 36%, 0%, 5.1%)
CIE-LABlab(66.92, 19.43, -43.96)
CIE-LCHlch(66.92, 48.06, 293.84°)
OKLaboklab(72.22% 0.0245 -0.1232)
OKLCHoklch(72.22% 0.126 281.3)
XYZxyz(40.6927, 36.5274, 88.8936)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989BF2 #F2EF98
analogous
#98C8F2 #989BF2 #C298F2
triadic
#989BF2 #F2989B #9BF298
tetradic
#989BF2 #F298C8 #F2EF98 #98F2C2
square
#989BF2 #F298C8 #F2EF98 #98F2C2
split-complementary
#989BF2 #F2C298 #C8F298
monochromatic
#2B31E4 #6266EB #989BF2 #CED0F9 #E4E5FC

Accessibility & contrast

On white

2.53
#989BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#989BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989BF2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989BF2#FFFFFF#000000##000000
##989BF21.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#7EACBB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #989bf2;
/* rgb */ color: rgb(152, 155, 242);
/* oklch */ color: oklch(72.2% 0.126 281.3);
Tailwind
colors: {
  custom: {
    50: '#b9b8f6',
    500: '#989bf2',
    950: '#000000',
  },
}
SCSS
$custom: #989bf2;
$custom-light: #b9b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#989bf2",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 238,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.12562,
    "h": 281.3
  },
  "luminance": 0.36529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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