#787D97#787D97

#787D97 is a mid, muted blue. Relative luminance 0.209; OKLCH L 59.5% C 0.040 H 276.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#787D97
RGBrgb(120, 125, 151)
HSLhsl(230, 13%, 53%)
HSVhsv(230, 21%, 59%)
CMYKcmyk(20.5%, 17.2%, 0%, 40.8%)
CIE-LABlab(52.83, 3.95, -14.59)
CIE-LCHlch(52.83, 15.12, 285.16°)
OKLaboklab(59.48% 0.0046 -0.0398)
OKLCHoklch(59.48% 0.04 276.6)
XYZxyz(20.6639, 20.8943, 32.2165)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D97 #979278
analogous
#788C97 #787D97 #827897
triadic
#787D97 #97787D #7D9778
tetradic
#787D97 #97788C #979278 #789782
square
#787D97 #97788C #979278 #789782
split-complementary
#787D97 #978278 #8C9778
monochromatic
#414454 #5B6077 #787D97 #9B9EB2 #BDC0CC

Accessibility & contrast

On white

4.05
#787D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#787D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D97
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D97#FFFFFF#000000##000000
##787D971.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#767F98
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#718286
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787d97;
/* rgb */ color: rgb(120, 125, 151);
/* oklch */ color: oklch(59.5% 0.040 276.6);
Tailwind
colors: {
  custom: {
    50: '#9fa2b5',
    500: '#787d97',
    950: '#000000',
  },
}
SCSS
$custom: #787d97;
$custom-light: #9fa2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#787d97",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 151
  },
  "hsl": {
    "h": 230.323,
    "s": 12.971,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.04005,
    "h": 276.6
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#787D97
secondary
#BCBAAF
accent
#AB72B6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F11
muted
#7E7E80

Preview Lab

Preview with #787D97

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

Preview Lab → · Contrast checker → · Palette generator →

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