#7989F5#7989F5

#7989F5 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.7% C 0.160 H 274.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7989F5
RGBrgb(121, 137, 245)
HSLhsl(232, 86%, 72%)
HSVhsv(232, 51%, 96%)
CMYKcmyk(50.6%, 44.1%, 0%, 3.9%)
CIE-LABlab(60.38, 23.29, -56.09)
CIE-LCHlch(60.38, 60.74, 292.54°)
OKLaboklab(66.72% 0.0136 -0.1593)
OKLCHoklch(66.72% 0.16 274.9)
XYZxyz(33.3070, 28.5468, 90.1235)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989F5 #F5E579
analogous
#79C7F5 #7989F5 #A779F5
triadic
#7989F5 #F57989 #89F579
tetradic
#7989F5 #F579C7 #F5E579 #79F5A7
square
#7989F5 #F579C7 #F5E579 #79F5A7
split-complementary
#7989F5 #F5A779 #C7F579
monochromatic
#112CE3 #4057F1 #7989F5 #B2BBF9 #E3E6FD

Accessibility & contrast

On white

3.13
#7989F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7989F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989F5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989F5#FFFFFF#000000##000000
##7989F51.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#4F8DF3
Tritanopia (blue-blind)
#44A0B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7989f5;
/* rgb */ color: rgb(121, 137, 245);
/* oklch */ color: oklch(66.7% 0.160 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7abf9',
    500: '#7989f5',
    950: '#000000',
  },
}
SCSS
$custom: #7989f5;
$custom-light: #a7abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7989f5",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 232.258,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66722,
    "c": 0.15992,
    "h": 274.9
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#7989F5
secondary
#F5F1D5
accent
#C603E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989F5

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

Preview Lab → · Contrast checker → · Palette generator →

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