#989EFE#989EFE

#989EFE is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.4% C 0.138 H 279.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#989EFE
RGBrgb(152, 158, 254)
HSLhsl(236, 98%, 80%)
HSVhsv(236, 40%, 100%)
CMYKcmyk(40.2%, 37.8%, 0%, 0.4%)
CIE-LABlab(68.23, 20.96, -48.45)
CIE-LCHlch(68.23, 52.79, 293.40°)
OKLaboklab(73.41% 0.0233 -0.1362)
OKLCHoklch(73.41% 0.138 279.7)
XYZxyz(43.0599, 38.2831, 98.8672)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EFE #FEF898
analogous
#98D1FE #989EFE #C598FE
triadic
#989EFE #FE989E #9EFE98
tetradic
#989EFE #FE98D1 #FEF898 #98FEC5
square
#989EFE #FE98D1 #FEF898 #98FEC5
split-complementary
#989EFE #FEC598 #D1FE98
monochromatic
#1F2CFD #5B65FD #989EFE #D5D7FF #E1E2FF

Accessibility & contrast

On white

2.43
#989EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#989EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EFE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EFE#FFFFFF#000000##000000
##989EFE1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#79B1C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989efe;
/* rgb */ color: rgb(152, 158, 254);
/* oklch */ color: oklch(73.4% 0.138 279.7);
Tailwind
colors: {
  custom: {
    50: '#babaff',
    500: '#989efe',
    950: '#000000',
  },
}
SCSS
$custom: #989efe;
$custom-light: #babaff;
$custom-dark: #000000;
JSON
{
  "hex": "#989efe",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 236.471,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.13821,
    "h": 279.7
  },
  "luminance": 0.38285
}

Semantic roles & 50–950 ramp

primary
#989EFE
secondary
#F7F5D4
accent
#D800E6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #989EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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