#989BF8#989BF8

#989BF8 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.5% C 0.134 H 281.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#989BF8
RGBrgb(152, 155, 248)
HSLhsl(238, 87%, 78%)
HSVhsv(238, 39%, 97%)
CMYKcmyk(38.7%, 37.5%, 0%, 2.7%)
CIE-LABlab(67.20, 21.04, -46.80)
CIE-LCHlch(67.20, 51.32, 294.21°)
OKLaboklab(72.52% 0.0258 -0.1315)
OKLCHoklch(72.52% 0.134 281.1)
XYZxyz(41.6086, 36.8938, 93.7176)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989BF8 #F8F598
analogous
#98CBF8 #989BF8 #C598F8
triadic
#989BF8 #F8989B #9BF898
tetradic
#989BF8 #F898CB #F8F598 #98F8C5
square
#989BF8 #F898CB #F8F598 #98F8C5
split-complementary
#989BF8 #F8C598 #CBF898
monochromatic
#252CF0 #5F63F4 #989BF8 #D1D3FC #E2E3FD

Accessibility & contrast

On white

2.51
#989BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#989BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989BF8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989BF8#FFFFFF#000000##000000
##989BF81.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#7CADBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989bf8;
/* rgb */ color: rgb(152, 155, 248);
/* oklch */ color: oklch(72.5% 0.134 281.1);
Tailwind
colors: {
  custom: {
    50: '#bab8fb',
    500: '#989bf8',
    950: '#000000',
  },
}
SCSS
$custom: #989bf8;
$custom-light: #bab8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#989bf8",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 238.125,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72523,
    "c": 0.13397,
    "h": 281.1
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#989BF8
secondary
#F5F4D6
accent
#DD02E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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