#7989CB#7989CB

#7989CB is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.4% C 0.101 H 272.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7989CB
RGBrgb(121, 137, 203)
HSLhsl(228, 44%, 64%)
HSVhsv(228, 40%, 80%)
CMYKcmyk(40.4%, 32.5%, 0%, 20.4%)
CIE-LABlab(58.29, 10.92, -35.98)
CIE-LCHlch(58.29, 37.60, 286.88°)
OKLaboklab(64.44% 0.0051 -0.1007)
OKLCHoklch(64.44% 0.101 272.9)
XYZxyz(27.6071, 26.2668, 60.1037)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989CB #CBBB79
analogous
#79B2CB #7989CB #9279CB
triadic
#7989CB #CB7989 #89CB79
tetradic
#7989CB #CB79B2 #CBBB79 #79CB92
square
#7989CB #CB79B2 #CBBB79 #79CB92
split-complementary
#7989CB #CB9279 #B2CB79
monochromatic
#384A91 #4D62BA #7989CB #A5B0DC #D1D7ED

Accessibility & contrast

On white

3.36
#7989CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#7989CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989CB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989CB#FFFFFF#000000##000000
##7989CB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#5F96A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7989cb;
/* rgb */ color: rgb(121, 137, 203);
/* oklch */ color: oklch(64.4% 0.101 272.9);
Tailwind
colors: {
  custom: {
    50: '#a3abdb',
    500: '#7989cb',
    950: '#000000',
  },
}
SCSS
$custom: #7989cb;
$custom-light: #a3abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7989cb",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 228.293,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64435,
    "c": 0.10082,
    "h": 272.9
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

primary
#7989CB
secondary
#DED9C1
accent
#9D2EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7989CB

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

Preview Lab → · Contrast checker → · Palette generator →

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