#787C8F#787C8F

#787C8F is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.0% C 0.029 H 276.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#787C8F
RGBrgb(120, 124, 143)
HSLhsl(230, 9%, 52%)
HSVhsv(230, 16%, 56%)
CMYKcmyk(16.1%, 13.3%, 0%, 43.9%)
CIE-LABlab(52.28, 2.65, -10.77)
CIE-LCHlch(52.28, 11.09, 283.84°)
OKLaboklab(58.95% 0.0031 -0.0292)
OKLCHoklch(58.95% 0.029 276.1)
XYZxyz(19.9102, 20.3913, 28.8682)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C8F #8F8B78
analogous
#78888F #787C8F #80788F
triadic
#787C8F #8F787C #7C8F78
tetradic
#787C8F #8F7888 #8F8B78 #788F80
square
#787C8F #8F7888 #8F8B78 #788F80
split-complementary
#787C8F #8F8078 #888F78
monochromatic
#40424D #5C5F6E #787C8F #999CAB #BBBDC7

Accessibility & contrast

On white

4.14
#787C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#787C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C8F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C8F#FFFFFF#000000##000000
##787C8F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E90
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#737F82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787c8f;
/* rgb */ color: rgb(120, 124, 143);
/* oklch */ color: oklch(59.0% 0.029 276.1);
Tailwind
colors: {
  custom: {
    50: '#9fa1af',
    500: '#787c8f',
    950: '#000000',
  },
}
SCSS
$custom: #787c8f;
$custom-light: #9fa1af;
$custom-dark: #000000;
JSON
{
  "hex": "#787c8f",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 143
  },
  "hsl": {
    "h": 229.565,
    "s": 9.312,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.02933,
    "h": 276.1
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#787C8F
secondary
#B6B5AC
accent
#A876B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #787C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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