#989EF8#989EF8

#989EF8 is a light, vivid blue. Relative luminance 0.379; OKLCH L 73.1% C 0.130 H 279.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#989EF8
RGBrgb(152, 158, 248)
HSLhsl(236, 87%, 78%)
HSVhsv(236, 39%, 97%)
CMYKcmyk(38.7%, 36.3%, 0%, 2.7%)
CIE-LABlab(67.95, 19.33, -45.62)
CIE-LCHlch(67.95, 49.54, 292.96°)
OKLaboklab(73.1% 0.022 -0.128)
OKLCHoklch(73.1% 0.13 279.8)
XYZxyz(42.1141, 37.9047, 93.8861)
Luminance0.3791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF8 #F8F298
analogous
#98CEF8 #989EF8 #C298F8
triadic
#989EF8 #F8989E #9EF898
tetradic
#989EF8 #F898CE #F8F298 #98F8C2
square
#989EF8 #F898CE #F8F298 #98F8C2
split-complementary
#989EF8 #F8C298 #CEF898
monochromatic
#2532F0 #5F68F4 #989EF8 #D1D4FC #E2E4FD

Accessibility & contrast

On white

2.45
#989EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#989EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF8
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF8#FFFFFF#000000##000000
##989EF81.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#7CB0BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989ef8;
/* rgb */ color: rgb(152, 158, 248);
/* oklch */ color: oklch(73.1% 0.130 279.8);
Tailwind
colors: {
  custom: {
    50: '#babafb',
    500: '#989ef8',
    950: '#000000',
  },
}
SCSS
$custom: #989ef8;
$custom-light: #babafb;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef8",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 236.25,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73101,
    "c": 0.12989,
    "h": 279.8
  },
  "luminance": 0.37906
}

Semantic roles & 50–950 ramp

primary
#989EF8
secondary
#F5F3D6
accent
#D602E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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