#787A97#787A97

#787A97 is a mid, muted blue. Relative luminance 0.201; OKLCH L 58.8% C 0.044 H 281.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#787A97
RGBrgb(120, 122, 151)
HSLhsl(236, 13%, 53%)
HSVhsv(236, 21%, 59%)
CMYKcmyk(20.5%, 19.2%, 0%, 40.8%)
CIE-LABlab(52.00, 5.71, -15.85)
CIE-LCHlch(52.00, 16.85, 289.81°)
OKLaboklab(58.83% 0.0091 -0.0433)
OKLCHoklch(58.83% 0.044 281.8)
XYZxyz(20.2898, 20.1462, 32.0918)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A97 #979578
analogous
#788997 #787A97 #857897
triadic
#787A97 #97787A #7A9778
tetradic
#787A97 #977889 #979578 #789785
square
#787A97 #977889 #979578 #789785
split-complementary
#787A97 #978578 #899778
monochromatic
#414254 #5B5D77 #787A97 #9B9CB2 #BDBECC

Accessibility & contrast

On white

4.18
#787A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#787A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A97
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A97#FFFFFF#000000##000000
##787A971.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D98
Deuteranopia (green-blind)
#717B96
Tritanopia (blue-blind)
#717F84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787a97;
/* rgb */ color: rgb(120, 122, 151);
/* oklch */ color: oklch(58.8% 0.044 281.8);
Tailwind
colors: {
  custom: {
    50: '#9fa0b5',
    500: '#787a97',
    950: '#000000',
  },
}
SCSS
$custom: #787a97;
$custom-light: #9fa0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#787a97",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 236.129,
    "s": 12.971,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.04423,
    "h": 281.8
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#787A97
secondary
#BCBBAF
accent
#B172B6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #787A97

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

Preview Lab → · Contrast checker → · Palette generator →

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