#989BFA#989BFA

#989BFA is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.6% C 0.137 H 281.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#989BFA
RGBrgb(152, 155, 250)
HSLhsl(238, 91%, 79%)
HSVhsv(238, 39%, 98%)
CMYKcmyk(39.2%, 38%, 0%, 2%)
CIE-LABlab(67.29, 21.59, -47.75)
CIE-LCHlch(67.29, 52.40, 294.33°)
OKLaboklab(72.63% 0.0262 -0.1342)
OKLCHoklch(72.63% 0.137 281)
XYZxyz(41.9206, 37.0185, 95.3605)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989BFA #FAF798
analogous
#98CCFA #989BFA #C698FA
triadic
#989BFA #FA989B #9BFA98
tetradic
#989BFA #FA98CC #FAF798 #98FAC6
square
#989BFA #FA98CC #FAF798 #98FAC6
split-complementary
#989BFA #FAC698 #CCFA98
monochromatic
#232AF4 #5E62F7 #989BFA #D2D4FD #E2E3FE

Accessibility & contrast

On white

2.50
#989BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#989BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989BFA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989BFA#FFFFFF#000000##000000
##989BFA1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FE
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#7BAEBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989bfa;
/* rgb */ color: rgb(152, 155, 250);
/* oklch */ color: oklch(72.6% 0.137 281.0);
Tailwind
colors: {
  custom: {
    50: '#bab8fc',
    500: '#989bfa',
    950: '#000000',
  },
}
SCSS
$custom: #989bfa;
$custom-light: #bab8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#989bfa",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 238.163,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72626,
    "c": 0.13674,
    "h": 281
  },
  "luminance": 0.3702
}

Semantic roles & 50–950 ramp

primary
#989BFA
secondary
#F6F5D5
accent
#DE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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