#7989EA#7989EA

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

Color values

HEX#7989EA
RGBrgb(121, 137, 234)
HSLhsl(232, 73%, 70%)
HSVhsv(232, 48%, 92%)
CMYKcmyk(48.3%, 41.5%, 0%, 8.2%)
CIE-LABlab(59.79, 19.97, -50.94)
CIE-LCHlch(59.79, 54.72, 291.40°)
OKLaboklab(66.09% 0.0118 -0.1443)
OKLCHoklch(66.09% 0.145 274.7)
XYZxyz(31.6774, 27.8949, 81.5410)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989EA #EADA79
analogous
#79C2EA #7989EA #A179EA
triadic
#7989EA #EA7989 #89EA79
tetradic
#7989EA #EA79C2 #EADA79 #79EAA1
square
#7989EA #EA79C2 #EADA79 #79EAA1
split-complementary
#7989EA #EAA179 #C2EA79
monochromatic
#2038C9 #445AE2 #7989EA #AEB8F2 #E3E6FB

Accessibility & contrast

On white

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

On black

6.58
#7989EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989EA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989EA#FFFFFF#000000##000000
##7989EA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#4D9DAE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7989ea;
/* rgb */ color: rgb(121, 137, 234);
/* oklch */ color: oklch(66.1% 0.145 274.7);
Tailwind
colors: {
  custom: {
    50: '#a6abf1',
    500: '#7989ea',
    950: '#000000',
  },
}
SCSS
$custom: #7989ea;
$custom-light: #a6abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7989ea",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 231.504,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.14474,
    "h": 274.7
  },
  "luminance": 0.27897
}

Semantic roles & 50–950 ramp

primary
#7989EA
secondary
#F0EBCF
accent
#B911D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989EA

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

Preview Lab → · Contrast checker → · Palette generator →

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