#7989CE#7989CE

#7989CE is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.6% C 0.105 H 273.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7989CE
RGBrgb(121, 137, 206)
HSLhsl(229, 46%, 64%)
HSVhsv(229, 41%, 81%)
CMYKcmyk(41.3%, 33.5%, 0%, 19.2%)
CIE-LABlab(58.43, 11.77, -37.46)
CIE-LCHlch(58.43, 39.26, 287.44°)
OKLaboklab(64.59% 0.0058 -0.105)
OKLCHoklch(64.59% 0.105 273.2)
XYZxyz(27.9680, 26.4112, 62.0047)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989CE #CEBE79
analogous
#79B4CE #7989CE #9479CE
triadic
#7989CE #CE7989 #89CE79
tetradic
#7989CE #CE79B4 #CEBE79 #79CE94
square
#7989CE #CE79B4 #CEBE79 #79CE94
split-complementary
#7989CE #CE9479 #B4CE79
monochromatic
#374996 #4C62BE #7989CE #A6B0DE #D3D8EF

Accessibility & contrast

On white

3.34
#7989CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7989CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989CE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989CE#FFFFFF#000000##000000
##7989CE1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D1
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#5D97A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7989ce;
/* rgb */ color: rgb(121, 137, 206);
/* oklch */ color: oklch(64.6% 0.105 273.2);
Tailwind
colors: {
  custom: {
    50: '#a3abdd',
    500: '#7989ce',
    950: '#000000',
  },
}
SCSS
$custom: #7989ce;
$custom-light: #a3abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7989ce",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 206
  },
  "hsl": {
    "h": 228.706,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64585,
    "c": 0.10513,
    "h": 273.2
  },
  "luminance": 0.26412
}

Semantic roles & 50–950 ramp

primary
#7989CE
secondary
#E0DBC3
accent
#9F2CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7989CE

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

Preview Lab → · Contrast checker → · Palette generator →

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