#788397#788397

#788397 is a mid, muted blue. Relative luminance 0.225; OKLCH L 60.8% C 0.033 H 262.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#788397
RGBrgb(120, 131, 151)
HSLhsl(219, 13%, 53%)
HSVhsv(219, 21%, 59%)
CMYKcmyk(20.5%, 13.2%, 0%, 40.8%)
CIE-LABlab(54.51, 0.47, -12.06)
CIE-LCHlch(54.51, 12.07, 272.24°)
OKLaboklab(60.79% -0.0043 -0.0328)
OKLCHoklch(60.79% 0.033 262.4)
XYZxyz(21.4465, 22.4595, 32.4773)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788397 #978C78
analogous
#789297 #788397 #7C7897
triadic
#788397 #977883 #839778
tetradic
#788397 #977892 #978C78 #78977C
square
#788397 #977892 #978C78 #78977C
split-complementary
#788397 #977C78 #929778
monochromatic
#414854 #5B6577 #788397 #9BA3B2 #BDC3CC

Accessibility & contrast

On white

3.82
#788397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#788397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788397
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788397#FFFFFF#000000##000000
##7883971.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8498
Deuteranopia (green-blind)
#7A8197
Tritanopia (blue-blind)
#708789
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #788397;
/* rgb */ color: rgb(120, 131, 151);
/* oklch */ color: oklch(60.8% 0.033 262.4);
Tailwind
colors: {
  custom: {
    50: '#9fa7b5',
    500: '#788397',
    950: '#000000',
  },
}
SCSS
$custom: #788397;
$custom-light: #9fa7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#788397",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 151
  },
  "hsl": {
    "h": 218.71,
    "s": 12.971,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.03308,
    "h": 262.4
  },
  "luminance": 0.2246
}

Semantic roles & 50–950 ramp

primary
#788397
secondary
#BCB7AF
accent
#9E72B6
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #788397

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

Preview Lab → · Contrast checker → · Palette generator →

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