#787B95#787B95

#787B95 is a mid, muted blue. Relative luminance 0.203; OKLCH L 59.0% C 0.040 H 279.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#787B95
RGBrgb(120, 123, 149)
HSLhsl(234, 12%, 53%)
HSVhsv(234, 19%, 58%)
CMYKcmyk(19.5%, 17.4%, 0%, 41.6%)
CIE-LABlab(52.21, 4.65, -14.38)
CIE-LCHlch(52.21, 15.11, 287.91°)
OKLaboklab(58.97% 0.0069 -0.0392)
OKLCHoklch(58.97% 0.04 279.9)
XYZxyz(20.2522, 20.3286, 31.2848)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B95 #959278
analogous
#788995 #787B95 #837895
triadic
#787B95 #95787B #7B9578
tetradic
#787B95 #957889 #959278 #789583
square
#787B95 #957889 #959278 #789583
split-complementary
#787B95 #958378 #899578
monochromatic
#404252 #5B5E74 #787B95 #9A9DB0 #BDBECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787B95#FFFFFF#000000##000000
##787B951.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E96
Deuteranopia (green-blind)
#737C94
Tritanopia (blue-blind)
#727F84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787b95;
/* rgb */ color: rgb(120, 123, 149);
/* oklch */ color: oklch(59.0% 0.040 279.9);
Tailwind
colors: {
  custom: {
    50: '#9fa1b4',
    500: '#787b95',
    950: '#000000',
  },
}
SCSS
$custom: #787b95;
$custom-light: #9fa1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#787b95",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 149
  },
  "hsl": {
    "h": 233.793,
    "s": 12.033,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.03976,
    "h": 279.9
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#787B95
secondary
#BBB9AE
accent
#AE73B5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #787B95

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

Preview Lab → · Contrast checker → · Palette generator →

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