#989EFA#989EFA

#989EFA is a light, vivid blue. Relative luminance 0.380; OKLCH L 73.2% C 0.133 H 279.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#989EFA
RGBrgb(152, 158, 250)
HSLhsl(236, 91%, 79%)
HSVhsv(236, 39%, 98%)
CMYKcmyk(39.2%, 36.8%, 0%, 2%)
CIE-LABlab(68.04, 19.87, -46.56)
CIE-LCHlch(68.04, 50.63, 293.11°)
OKLaboklab(73.2% 0.0224 -0.1308)
OKLCHoklch(73.2% 0.133 279.7)
XYZxyz(42.4261, 38.0295, 95.5289)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EFA #FAF498
analogous
#98CFFA #989EFA #C398FA
triadic
#989EFA #FA989E #9EFA98
tetradic
#989EFA #FA98CF #FAF498 #98FAC3
square
#989EFA #FA98CF #FAF498 #98FAC3
split-complementary
#989EFA #FAC398 #CFFA98
monochromatic
#2330F4 #5E67F7 #989EFA #D2D5FD #E2E4FE

Accessibility & contrast

On white

2.44
#989EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#989EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EFA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EFA#FFFFFF#000000##000000
##989EFA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#7BB0C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989efa;
/* rgb */ color: rgb(152, 158, 250);
/* oklch */ color: oklch(73.2% 0.133 279.7);
Tailwind
colors: {
  custom: {
    50: '#babafc',
    500: '#989efa',
    950: '#000000',
  },
}
SCSS
$custom: #989efa;
$custom-light: #babafc;
$custom-dark: #000000;
JSON
{
  "hex": "#989efa",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 236.327,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73202,
    "c": 0.13267,
    "h": 279.7
  },
  "luminance": 0.38031
}

Semantic roles & 50–950 ramp

primary
#989EFA
secondary
#F6F4D5
accent
#D700E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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