#7989BC#7989BC

#7989BC is a light, moderate blue. Relative luminance 0.256; OKLCH L 63.7% C 0.079 H 270.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7989BC
RGBrgb(121, 137, 188)
HSLhsl(226, 33%, 61%)
HSVhsv(226, 36%, 74%)
CMYKcmyk(35.6%, 27.1%, 0%, 26.3%)
CIE-LABlab(57.64, 6.76, -28.50)
CIE-LCHlch(57.64, 29.29, 283.34°)
OKLaboklab(63.72% 0.0009 -0.0792)
OKLCHoklch(63.72% 0.079 270.6)
XYZxyz(25.9053, 25.5860, 51.1409)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989BC #BCAC79
analogous
#79AABC #7989BC #8A79BC
triadic
#7989BC #BC7989 #89BC79
tetradic
#7989BC #BC79AA #BCAC79 #79BC8A
square
#7989BC #BC79AA #BCAC79 #79BC8A
split-complementary
#7989BC #BC8A79 #AABC79
monochromatic
#3E4D7C #5366A5 #7989BC #A2ADD0 #CBD1E5

Accessibility & contrast

On white

3.43
#7989BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7989BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989BC#FFFFFF#000000##000000
##7989BC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EBE
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#65939B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7989bc;
/* rgb */ color: rgb(121, 137, 188);
/* oklch */ color: oklch(63.7% 0.079 270.6);
Tailwind
colors: {
  custom: {
    50: '#a2abd0',
    500: '#7989bc',
    950: '#000000',
  },
}
SCSS
$custom: #7989bc;
$custom-light: #a2abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7989bc",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 188
  },
  "hsl": {
    "h": 225.672,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6372,
    "c": 0.07916,
    "h": 270.6
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#7989BC
secondary
#D5CFBC
accent
#9139AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7989BC

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

Preview Lab → · Contrast checker → · Palette generator →

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