#787C8E#787C8E

#787C8E is a mid, muted blue. Relative luminance 0.204; OKLCH L 58.9% C 0.028 H 275.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#787C8E
RGBrgb(120, 124, 142)
HSLhsl(229, 9%, 51%)
HSVhsv(229, 15%, 56%)
CMYKcmyk(15.5%, 12.7%, 0%, 44.3%)
CIE-LABlab(52.24, 2.42, -10.23)
CIE-LCHlch(52.24, 10.51, 283.32°)
OKLaboklab(58.92% 0.0027 -0.0277)
OKLCHoklch(58.92% 0.028 275.6)
XYZxyz(19.8348, 20.3611, 28.4710)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C8E #8E8A78
analogous
#78878E #787C8E #7F788E
triadic
#787C8E #8E787C #7C8E78
tetradic
#787C8E #8E7887 #8E8A78 #788E7F
square
#787C8E #8E7887 #8E8A78 #788E7F
split-complementary
#787C8E #8E7F78 #878E78
monochromatic
#40424C #5B5F6D #787C8E #999CAA #BBBDC6

Accessibility & contrast

On white

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

On black

5.07
#787C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C8E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C8E#FFFFFF#000000##000000
##787C8E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787c8e;
/* rgb */ color: rgb(120, 124, 142);
/* oklch */ color: oklch(58.9% 0.028 275.6);
Tailwind
colors: {
  custom: {
    50: '#9fa1af',
    500: '#787c8e',
    950: '#000000',
  },
}
SCSS
$custom: #787c8e;
$custom-light: #9fa1af;
$custom-dark: #000000;
JSON
{
  "hex": "#787c8e",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 229.091,
    "s": 8.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58916,
    "c": 0.02783,
    "h": 275.6
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#787C8E
secondary
#B6B4AC
accent
#A776B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #787C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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