#787C8C#787C8C

#787C8C is a mid, muted blue. Relative luminance 0.203; OKLCH L 58.8% C 0.025 H 274.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#787C8C
RGBrgb(120, 124, 140)
HSLhsl(228, 8%, 51%)
HSVhsv(228, 14%, 55%)
CMYKcmyk(14.3%, 11.4%, 0%, 45.1%)
CIE-LABlab(52.18, 1.97, -9.16)
CIE-LCHlch(52.18, 9.37, 282.11°)
OKLaboklab(58.84% 0.0019 -0.0248)
OKLCHoklch(58.84% 0.025 274.5)
XYZxyz(19.6859, 20.3016, 27.6873)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C8C #8C8878
analogous
#78868C #787C8C #7E788C
triadic
#787C8C #8C787C #7C8C78
tetradic
#787C8C #8C7886 #8C8878 #788C7E
square
#787C8C #8C7886 #8C8878 #788C7E
split-complementary
#787C8C #8C7E78 #868C78
monochromatic
#3F414A #5B5F6B #787C8C #999CA8 #BABCC4

Accessibility & contrast

On white

4.15
#787C8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#787C8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C8C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C8C#FFFFFF#000000##000000
##787C8C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8D
Deuteranopia (green-blind)
#767C8C
Tritanopia (blue-blind)
#747F81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787c8c;
/* rgb */ color: rgb(120, 124, 140);
/* oklch */ color: oklch(58.8% 0.025 274.5);
Tailwind
colors: {
  custom: {
    50: '#9fa1ad',
    500: '#787c8c',
    950: '#000000',
  },
}
SCSS
$custom: #787c8c;
$custom-light: #9fa1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#787c8c",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 228,
    "s": 8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.02484,
    "h": 274.5
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#787C8C
secondary
#B4B3AB
accent
#A577B1
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #787C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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