#7988BB#7988BB

#7988BB is a light, moderate blue. Relative luminance 0.253; OKLCH L 63.5% C 0.079 H 271.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7988BB
RGBrgb(121, 136, 187)
HSLhsl(226, 33%, 60%)
HSVhsv(226, 35%, 73%)
CMYKcmyk(35.3%, 27.3%, 0%, 26.7%)
CIE-LABlab(57.33, 7.07, -28.41)
CIE-LCHlch(57.33, 29.28, 283.97°)
OKLaboklab(63.46% 0.0019 -0.0789)
OKLCHoklch(63.46% 0.079 271.4)
XYZxyz(25.6563, 25.2601, 50.5279)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988BB #BBAC79
analogous
#79A9BB #7988BB #8B79BB
triadic
#7988BB #BB7988 #88BB79
tetradic
#7988BB #BB79A9 #BBAC79 #79BB8B
square
#7988BB #BB79A9 #BBAC79 #79BB8B
split-complementary
#7988BB #BB8B79 #A9BB79
monochromatic
#3E4C7B #5365A4 #7988BB #A2ACD0 #CAD0E4

Accessibility & contrast

On white

3.47
#7988BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7988BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988BB#FFFFFF#000000##000000
##7988BB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#66929A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7988bb;
/* rgb */ color: rgb(121, 136, 187);
/* oklch */ color: oklch(63.5% 0.079 271.4);
Tailwind
colors: {
  custom: {
    50: '#a1aacf',
    500: '#7988bb',
    950: '#000000',
  },
}
SCSS
$custom: #7988bb;
$custom-light: #a1aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#7988bb",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 187
  },
  "hsl": {
    "h": 226.364,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63462,
    "c": 0.07894,
    "h": 271.4
  },
  "luminance": 0.25261
}

Semantic roles & 50–950 ramp

primary
#7988BB
secondary
#D5CFBB
accent
#923AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7988BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7988BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva