#7B87BB#7B87BB

#7B87BB is a light, moderate blue. Relative luminance 0.251; OKLCH L 63.4% C 0.080 H 273.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B87BB
RGBrgb(123, 135, 187)
HSLhsl(229, 32%, 61%)
HSVhsv(229, 34%, 73%)
CMYKcmyk(34.2%, 27.8%, 0%, 26.7%)
CIE-LABlab(57.20, 8.23, -28.60)
CIE-LCHlch(57.20, 29.76, 286.05°)
OKLaboklab(63.4% 0.0055 -0.0794)
OKLCHoklch(63.4% 0.08 273.9)
XYZxyz(25.7994, 25.1258, 50.4945)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87BB #BBAF7B
analogous
#7BA7BB #7B87BB #8F7BBB
triadic
#7B87BB #BB7B87 #87BB7B
tetradic
#7B87BB #BB7BA7 #BBAF7B #7BBB8F
square
#7B87BB #BB7BA7 #BBAF7B #7BBB8F
split-complementary
#7B87BB #BB8F7B #A7BB7B
monochromatic
#404B7C #5564A4 #7B87BB #A3ACD0 #CCD0E5

Accessibility & contrast

On white

3.49
#7B87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7B87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87BB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87BB#FFFFFF#000000##000000
##7B87BB1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBD
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#699199
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b87bb;
/* rgb */ color: rgb(123, 135, 187);
/* oklch */ color: oklch(63.4% 0.080 273.9);
Tailwind
colors: {
  custom: {
    50: '#a3a9cf',
    500: '#7b87bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b87bb;
$custom-light: #a3a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87bb",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 228.75,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.07963,
    "h": 273.9
  },
  "luminance": 0.25127
}

Semantic roles & 50–950 ramp

primary
#7B87BB
secondary
#D5D0BD
accent
#963BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7B87BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7B87BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva