#787799#787799

#787799 is a mid, muted blue. Relative luminance 0.195; OKLCH L 58.3% C 0.052 H 286.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#787799
RGBrgb(120, 119, 153)
HSLhsl(242, 14%, 53%)
HSVhsv(242, 22%, 60%)
CMYKcmyk(21.6%, 22.2%, 0%, 40%)
CIE-LABlab(51.25, 7.97, -18.17)
CIE-LCHlch(51.25, 19.84, 293.69°)
OKLaboklab(58.27% 0.0143 -0.0498)
OKLCHoklch(58.27% 0.052 286)
XYZxyz(20.0910, 19.4863, 32.8336)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787799 #989977
analogous
#778799 #787799 #897799
triadic
#787799 #997877 #779978
tetradic
#787799 #997787 #989977 #779989
square
#787799 #997787 #989977 #779989
split-complementary
#787799 #998977 #879977
monochromatic
#414055 #5B5A78 #787799 #9B9AB3 #BDBDCD

Accessibility & contrast

On white

4.29
#787799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#787799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787799
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787799#FFFFFF#000000##000000
##7877991.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B9B
Deuteranopia (green-blind)
#6E7998
Tritanopia (blue-blind)
#717D83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787799;
/* rgb */ color: rgb(120, 119, 153);
/* oklch */ color: oklch(58.3% 0.052 286.0);
Tailwind
colors: {
  custom: {
    50: '#9f9eb7',
    500: '#787799',
    950: '#000000',
  },
}
SCSS
$custom: #787799;
$custom-light: #9f9eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#787799",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 241.765,
    "s": 14.286,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.05177,
    "h": 286
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#787799
secondary
#BDBDAF
accent
#B771B5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #787799

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

Preview Lab → · Contrast checker → · Palette generator →

#787799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva