#787F91#787F91

#787F91 is a mid, muted blue. Relative luminance 0.212; OKLCH L 59.7% C 0.029 H 268.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#787F91
RGBrgb(120, 127, 145)
HSLhsl(223, 10%, 52%)
HSVhsv(223, 17%, 57%)
CMYKcmyk(17.2%, 12.4%, 0%, 43.1%)
CIE-LABlab(53.18, 1.37, -10.57)
CIE-LCHlch(53.18, 10.66, 277.40°)
OKLaboklab(59.69% -0.0007 -0.0286)
OKLCHoklch(59.69% 0.029 268.6)
XYZxyz(20.4447, 21.2158, 29.8005)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787F91 #918A78
analogous
#788C91 #787F91 #7E7891
triadic
#787F91 #91787F #7F9178
tetradic
#787F91 #91788C #918A78 #78917E
square
#787F91 #91788C #918A78 #78917E
split-complementary
#787F91 #917E78 #8C9178
monochromatic
#40444F #5C6170 #787F91 #9A9FAC #BBBFC8

Accessibility & contrast

On white

4.01
#787F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#787F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787F91
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787F91#FFFFFF#000000##000000
##787F911.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8092
Deuteranopia (green-blind)
#787E91
Tritanopia (blue-blind)
#728285
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787f91;
/* rgb */ color: rgb(120, 127, 145);
/* oklch */ color: oklch(59.7% 0.029 268.6);
Tailwind
colors: {
  custom: {
    50: '#9fa4b1',
    500: '#787f91',
    950: '#000000',
  },
}
SCSS
$custom: #787f91;
$custom-light: #9fa4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#787f91",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 145
  },
  "hsl": {
    "h": 223.2,
    "s": 10.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59687,
    "c": 0.02866,
    "h": 268.6
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#787F91
secondary
#B8B5AD
accent
#A275B3
background
#F9FAFA
surface
#F2F4F5
border
#CCCECF
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #787F91

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

Preview Lab → · Contrast checker → · Palette generator →

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