#787A8E#787A8E

#787A8E is a mid, muted blue. Relative luminance 0.199; OKLCH L 58.5% C 0.031 H 280.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#787A8E
RGBrgb(120, 122, 142)
HSLhsl(235, 9%, 51%)
HSVhsv(235, 15%, 56%)
CMYKcmyk(15.5%, 14.1%, 0%, 44.3%)
CIE-LABlab(51.68, 3.59, -11.07)
CIE-LCHlch(51.68, 11.64, 287.97°)
OKLaboklab(58.48% 0.0058 -0.03)
OKLCHoklch(58.48% 0.031 280.9)
XYZxyz(19.5867, 19.8649, 28.3883)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A8E #8E8C78
analogous
#78858E #787A8E #81788E
triadic
#787A8E #8E787A #7A8E78
tetradic
#787A8E #8E7885 #8E8C78 #788E81
square
#787A8E #8E7885 #8E8C78 #788E81
split-complementary
#787A8E #8E8178 #858E78
monochromatic
#40414C #5B5D6D #787A8E #999BAA #BBBCC6

Accessibility & contrast

On white

4.22
#787A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#787A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A8E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A8E#FFFFFF#000000##000000
##787A8E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C8F
Deuteranopia (green-blind)
#747A8D
Tritanopia (blue-blind)
#737D80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787a8e;
/* rgb */ color: rgb(120, 122, 142);
/* oklch */ color: oklch(58.5% 0.031 280.9);
Tailwind
colors: {
  custom: {
    50: '#9fa0af',
    500: '#787a8e',
    950: '#000000',
  },
}
SCSS
$custom: #787a8e;
$custom-light: #9fa0af;
$custom-dark: #000000;
JSON
{
  "hex": "#787a8e",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 142
  },
  "hsl": {
    "h": 234.545,
    "s": 8.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.03055,
    "h": 280.9
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#787A8E
secondary
#B6B5AC
accent
#AC76B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #787A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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