#7989BF#7989BF

#7989BF is a light, moderate blue. Relative luminance 0.257; OKLCH L 63.9% C 0.084 H 271.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7989BF
RGBrgb(121, 137, 191)
HSLhsl(226, 35%, 61%)
HSVhsv(226, 37%, 75%)
CMYKcmyk(36.6%, 28.3%, 0%, 25.1%)
CIE-LABlab(57.77, 7.58, -30.00)
CIE-LCHlch(57.77, 30.95, 284.17°)
OKLaboklab(63.86% 0.0018 -0.0835)
OKLCHoklch(63.86% 0.084 271.2)
XYZxyz(26.2320, 25.7168, 52.8618)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989BF #BFAF79
analogous
#79ACBF #7989BF #8C79BF
triadic
#7989BF #BF7989 #89BF79
tetradic
#7989BF #BF79AC #BFAF79 #79BF8C
square
#7989BF #BF79AC #BFAF79 #79BF8C
split-complementary
#7989BF #BF8C79 #ACBF79
monochromatic
#3D4D80 #5165AA #7989BF #A2ADD3 #CCD2E7

Accessibility & contrast

On white

3.42
#7989BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7989BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989BF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989BF#FFFFFF#000000##000000
##7989BF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC1
Deuteranopia (green-blind)
#7288BE
Tritanopia (blue-blind)
#64949C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7989bf;
/* rgb */ color: rgb(121, 137, 191);
/* oklch */ color: oklch(63.9% 0.084 271.2);
Tailwind
colors: {
  custom: {
    50: '#a2abd2',
    500: '#7989bf',
    950: '#000000',
  },
}
SCSS
$custom: #7989bf;
$custom-light: #a2abd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7989bf",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 191
  },
  "hsl": {
    "h": 226.286,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.08351,
    "h": 271.2
  },
  "luminance": 0.25718
}

Semantic roles & 50–950 ramp

primary
#7989BF
secondary
#D7D1BD
accent
#9337AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7989BF

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

Preview Lab → · Contrast checker → · Palette generator →

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