#7989FB#7989FB

#7989FB is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.1% C 0.168 H 274.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7989FB
RGBrgb(121, 137, 251)
HSLhsl(233, 94%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(51.8%, 45.4%, 0%, 1.6%)
CIE-LABlab(60.71, 25.11, -58.87)
CIE-LCHlch(60.71, 64.00, 293.10°)
OKLaboklab(67.08% 0.0144 -0.1675)
OKLCHoklch(67.08% 0.168 274.9)
XYZxyz(34.2379, 28.9191, 95.0259)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989FB #FBEB79
analogous
#79CAFB #7989FB #AA79FB
triadic
#7989FB #FB7989 #89FB79
tetradic
#7989FB #FB79CA #FBEB79 #79FBAA
square
#7989FB #FB79CA #FBEB79 #79FBAA
split-complementary
#7989FB #FBAA79 #CAFB79
monochromatic
#0724F2 #3E55F9 #7989FB #B4BDFD #E1E5FE

Accessibility & contrast

On white

3.10
#7989FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#7989FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989FB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989FB#FFFFFF#000000##000000
##7989FB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#3EA2B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7989fb;
/* rgb */ color: rgb(121, 137, 251);
/* oklch */ color: oklch(67.1% 0.168 274.9);
Tailwind
colors: {
  custom: {
    50: '#a8abfd',
    500: '#7989fb',
    950: '#000000',
  },
}
SCSS
$custom: #7989fb;
$custom-light: #a8abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7989fb",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 232.615,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67081,
    "c": 0.16811,
    "h": 274.9
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

primary
#7989FB
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7989FB

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

Preview Lab → · Contrast checker → · Palette generator →

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