#7989EB#7989EB

#7989EB is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.1% C 0.146 H 274.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7989EB
RGBrgb(121, 137, 235)
HSLhsl(232, 74%, 70%)
HSVhsv(232, 49%, 92%)
CMYKcmyk(48.5%, 41.7%, 0%, 7.8%)
CIE-LABlab(59.85, 20.27, -51.42)
CIE-LCHlch(59.85, 55.27, 291.51°)
OKLaboklab(66.14% 0.012 -0.1456)
OKLCHoklch(66.14% 0.146 274.7)
XYZxyz(31.8215, 27.9525, 82.2998)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989EB #EBDB79
analogous
#79C2EB #7989EB #A279EB
triadic
#7989EB #EB7989 #89EB79
tetradic
#7989EB #EB79C2 #EBDB79 #79EBA2
square
#7989EB #EB79C2 #EBDB79 #79EBA2
split-complementary
#7989EB #EBA279 #C2EB79
monochromatic
#1E37CB #445AE3 #7989EB #AEB8F3 #E4E7FB

Accessibility & contrast

On white

3.19
#7989EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7989EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989EB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989EB#FFFFFF#000000##000000
##7989EB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#4C9EAF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7989eb;
/* rgb */ color: rgb(121, 137, 235);
/* oklch */ color: oklch(66.1% 0.146 274.7);
Tailwind
colors: {
  custom: {
    50: '#a6abf2',
    500: '#7989eb',
    950: '#000000',
  },
}
SCSS
$custom: #7989eb;
$custom-light: #a6abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7989eb",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 231.579,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.14613,
    "h": 274.7
  },
  "luminance": 0.27954
}

Semantic roles & 50–950 ramp

primary
#7989EB
secondary
#F0EBD0
accent
#BA0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989EB

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

Preview Lab → · Contrast checker → · Palette generator →

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