#7989EF#7989EF

#7989EF is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.4% C 0.152 H 274.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7989EF
RGBrgb(121, 137, 239)
HSLhsl(232, 79%, 71%)
HSVhsv(232, 49%, 94%)
CMYKcmyk(49.4%, 42.7%, 0%, 6.3%)
CIE-LABlab(60.06, 21.47, -53.29)
CIE-LCHlch(60.06, 57.46, 291.94°)
OKLaboklab(66.37% 0.0127 -0.1511)
OKLCHoklch(66.37% 0.152 274.8)
XYZxyz(32.4059, 28.1863, 85.3775)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989EF #EFDF79
analogous
#79C4EF #7989EF #A479EF
triadic
#7989EF #EF7989 #89EF79
tetradic
#7989EF #EF79C4 #EFDF79 #79EFA4
square
#7989EF #EF79C4 #EFDF79 #79EFA4
split-complementary
#7989EF #EFA479 #C4EF79
monochromatic
#1933D4 #4259E8 #7989EF #B0B9F6 #E4E7FC

Accessibility & contrast

On white

3.16
#7989EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7989EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989EF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989EF#FFFFFF#000000##000000
##7989EF1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#548CED
Tritanopia (blue-blind)
#499FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7989ef;
/* rgb */ color: rgb(121, 137, 239);
/* oklch */ color: oklch(66.4% 0.152 274.8);
Tailwind
colors: {
  custom: {
    50: '#a6abf5',
    500: '#7989ef',
    950: '#000000',
  },
}
SCSS
$custom: #7989ef;
$custom-light: #a6abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7989ef",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 231.864,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66371,
    "c": 0.15167,
    "h": 274.8
  },
  "luminance": 0.28188
}

Semantic roles & 50–950 ramp

primary
#7989EF
secondary
#F2EED2
accent
#BF0BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989EF

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

Preview Lab → · Contrast checker → · Palette generator →

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