#7989CD#7989CD

#7989CD is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.5% C 0.104 H 273.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7989CD
RGBrgb(121, 137, 205)
HSLhsl(229, 46%, 64%)
HSVhsv(229, 41%, 80%)
CMYKcmyk(41%, 33.2%, 0%, 19.6%)
CIE-LABlab(58.38, 11.48, -36.96)
CIE-LCHlch(58.38, 38.71, 287.26°)
OKLaboklab(64.54% 0.0056 -0.1035)
OKLCHoklch(64.54% 0.104 273.1)
XYZxyz(27.8469, 26.3627, 61.3670)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989CD #CDBD79
analogous
#79B3CD #7989CD #9379CD
triadic
#7989CD #CD7989 #89CD79
tetradic
#7989CD #CD79B3 #CDBD79 #79CD93
square
#7989CD #CD79B3 #CDBD79 #79CD93
split-complementary
#7989CD #CD9379 #B3CD79
monochromatic
#374994 #4C62BC #7989CD #A6B0DE #D2D7EE

Accessibility & contrast

On white

3.35
#7989CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7989CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989CD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989CD#FFFFFF#000000##000000
##7989CD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#5E97A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7989cd;
/* rgb */ color: rgb(121, 137, 205);
/* oklch */ color: oklch(64.5% 0.104 273.1);
Tailwind
colors: {
  custom: {
    50: '#a3abdc',
    500: '#7989cd',
    950: '#000000',
  },
}
SCSS
$custom: #7989cd;
$custom-light: #a3abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7989cd",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 228.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64535,
    "c": 0.1037,
    "h": 273.1
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#7989CD
secondary
#E0DAC2
accent
#9E2DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7989CD

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

Preview Lab → · Contrast checker → · Palette generator →

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