#787C96#787C96

#787C96 is a mid, muted blue. Relative luminance 0.206; OKLCH L 59.2% C 0.040 H 278.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#787C96
RGBrgb(120, 124, 150)
HSLhsl(232, 13%, 53%)
HSVhsv(232, 20%, 59%)
CMYKcmyk(20%, 17.3%, 0%, 41.2%)
CIE-LABlab(52.52, 4.30, -14.48)
CIE-LCHlch(52.52, 15.11, 286.53°)
OKLaboklab(59.22% 0.0057 -0.0395)
OKLCHoklch(59.22% 0.04 278.2)
XYZxyz(20.4571, 20.6100, 31.7486)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C96 #969278
analogous
#788B96 #787C96 #837896
triadic
#787C96 #96787C #7C9678
tetradic
#787C96 #96788B #969278 #789683
square
#787C96 #96788B #969278 #789683
split-complementary
#787C96 #968378 #8B9678
monochromatic
#414353 #5B5F75 #787C96 #9A9DB1 #BDBFCC

Accessibility & contrast

On white

4.10
#787C96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#787C96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C96
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C96#FFFFFF#000000##000000
##787C961.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#757E97
Deuteranopia (green-blind)
#737C95
Tritanopia (blue-blind)
#718185
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787c96;
/* rgb */ color: rgb(120, 124, 150);
/* oklch */ color: oklch(59.2% 0.040 278.2);
Tailwind
colors: {
  custom: {
    50: '#9fa1b5',
    500: '#787c96',
    950: '#000000',
  },
}
SCSS
$custom: #787c96;
$custom-light: #9fa1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#787c96",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 150
  },
  "hsl": {
    "h": 232,
    "s": 12.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.03989,
    "h": 278.2
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#787C96
secondary
#BBBAAE
accent
#AC72B5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F11
muted
#7E7E80

Preview Lab

Preview with #787C96

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

Preview Lab → · Contrast checker → · Palette generator →

#787C96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva