#787E8D#787E8D

#787E8D is a mid, muted blue. Relative luminance 0.208; OKLCH L 59.3% C 0.024 H 268.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#787E8D
RGBrgb(120, 126, 141)
HSLhsl(223, 8%, 51%)
HSVhsv(223, 15%, 55%)
CMYKcmyk(14.9%, 10.6%, 0%, 44.7%)
CIE-LABlab(52.77, 1.03, -8.86)
CIE-LCHlch(52.77, 8.92, 276.65°)
OKLaboklab(59.32% -0.0007 -0.0239)
OKLCHoklch(59.32% 0.024 268.3)
XYZxyz(20.0132, 20.8376, 28.1618)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E8D #8D8778
analogous
#78888D #787E8D #7C788D
triadic
#787E8D #8D787E #7E8D78
tetradic
#787E8D #8D7888 #8D8778 #788D7C
square
#787E8D #8D7888 #8D8778 #788D7C
split-complementary
#787E8D #8D7C78 #888D78
monochromatic
#3F434B #5B606C #787E8D #999EA9 #BABDC5

Accessibility & contrast

On white

4.06
#787E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#787E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E8D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E8D#FFFFFF#000000##000000
##787E8D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7F8E
Deuteranopia (green-blind)
#787D8D
Tritanopia (blue-blind)
#738183
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787e8d;
/* rgb */ color: rgb(120, 126, 141);
/* oklch */ color: oklch(59.3% 0.024 268.3);
Tailwind
colors: {
  custom: {
    50: '#9fa3ae',
    500: '#787e8d',
    950: '#000000',
  },
}
SCSS
$custom: #787e8d;
$custom-light: #9fa3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#787e8d",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 222.857,
    "s": 8.434,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59319,
    "c": 0.02394,
    "h": 268.3
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#787E8D
secondary
#B5B2AC
accent
#A176B1
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #787E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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