#7989F8#7989F8

#7989F8 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.9% C 0.164 H 274.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7989F8
RGBrgb(121, 137, 248)
HSLhsl(232, 90%, 72%)
HSVhsv(232, 51%, 97%)
CMYKcmyk(51.2%, 44.8%, 0%, 2.7%)
CIE-LABlab(60.54, 24.20, -57.48)
CIE-LCHlch(60.54, 62.37, 292.83°)
OKLaboklab(66.9% 0.014 -0.1634)
OKLCHoklch(66.9% 0.164 274.9)
XYZxyz(33.7687, 28.7314, 92.5550)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989F8 #F8E879
analogous
#79C9F8 #7989F8 #A979F8
triadic
#7989F8 #F87989 #89F879
tetradic
#7989F8 #F879C9 #F8E879 #79F8A9
square
#7989F8 #F879C9 #F8E879 #79F8A9
split-complementary
#7989F8 #F8A979 #C9F879
monochromatic
#0C28EA #3F56F5 #7989F8 #B3BCFB #E2E5FD

Accessibility & contrast

On white

3.11
#7989F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7989F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989F8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989F8#FFFFFF#000000##000000
##7989F81.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FC
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#41A1B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7989f8;
/* rgb */ color: rgb(121, 137, 248);
/* oklch */ color: oklch(66.9% 0.164 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7abfb',
    500: '#7989f8',
    950: '#000000',
  },
}
SCSS
$custom: #7989f8;
$custom-light: #a7abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7989f8",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 232.441,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.669,
    "c": 0.16402,
    "h": 274.9
  },
  "luminance": 0.28734
}

Semantic roles & 50–950 ramp

primary
#7989F8
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7989F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva