#989DF2#989DF2

#989DF2 is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.6% C 0.123 H 280.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#989DF2
RGBrgb(152, 157, 242)
HSLhsl(237, 78%, 77%)
HSVhsv(237, 37%, 95%)
CMYKcmyk(37.2%, 35.1%, 0%, 5.1%)
CIE-LABlab(67.43, 18.28, -43.17)
CIE-LCHlch(67.43, 46.88, 292.96°)
OKLaboklab(72.61% 0.022 -0.1209)
OKLCHoklch(72.61% 0.123 280.3)
XYZxyz(41.0283, 37.1986, 89.0055)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989DF2 #F2ED98
analogous
#98CAF2 #989DF2 #C098F2
triadic
#989DF2 #F2989D #9DF298
tetradic
#989DF2 #F298CA #F2ED98 #98F2C0
square
#989DF2 #F298CA #F2ED98 #98F2C0
split-complementary
#989DF2 #F2C098 #CAF298
monochromatic
#2B36E4 #6269EB #989DF2 #CED1F9 #E4E5FC

Accessibility & contrast

On white

2.49
#989DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#989DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989DF2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989DF2#FFFFFF#000000##000000
##989DF21.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F5
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#7EADBC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989df2;
/* rgb */ color: rgb(152, 157, 242);
/* oklch */ color: oklch(72.6% 0.123 280.3);
Tailwind
colors: {
  custom: {
    50: '#b9b9f6',
    500: '#989df2',
    950: '#000000',
  },
}
SCSS
$custom: #989df2;
$custom-light: #b9b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#989df2",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 236.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72609,
    "c": 0.12288,
    "h": 280.3
  },
  "luminance": 0.372
}

Semantic roles & 50–950 ramp

primary
#989DF2
secondary
#F3F2D8
accent
#CE0CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #989DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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