#797C96#797C96

#797C96 is a mid, muted blue. Relative luminance 0.207; OKLCH L 59.3% C 0.040 H 279.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#797C96
RGBrgb(121, 124, 150)
HSLhsl(234, 12%, 53%)
HSVhsv(234, 19%, 59%)
CMYKcmyk(19.3%, 17.3%, 0%, 41.2%)
CIE-LABlab(52.60, 4.63, -14.36)
CIE-LCHlch(52.60, 15.09, 287.89°)
OKLaboklab(59.31% 0.0069 -0.0391)
OKLCHoklch(59.31% 0.04 279.9)
XYZxyz(20.5965, 20.6819, 31.7551)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C96 #969379
analogous
#798A96 #797C96 #847996
triadic
#797C96 #96797C #7C9679
tetradic
#797C96 #96798A #969379 #799684
square
#797C96 #96798A #969379 #799684
split-complementary
#797C96 #968479 #8A9679
monochromatic
#414353 #5C5F76 #797C96 #9B9EB1 #BEBFCC

Accessibility & contrast

On white

4.09
#797C96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#797C96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C96
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C96#FFFFFF#000000##000000
##797C961.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#757F97
Deuteranopia (green-blind)
#747D95
Tritanopia (blue-blind)
#738085
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797c96;
/* rgb */ color: rgb(121, 124, 150);
/* oklch */ color: oklch(59.3% 0.040 279.9);
Tailwind
colors: {
  custom: {
    50: '#a0a1b5',
    500: '#797c96',
    950: '#000000',
  },
}
SCSS
$custom: #797c96;
$custom-light: #a0a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#797c96",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 150
  },
  "hsl": {
    "h": 233.793,
    "s": 12.134,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.03971,
    "h": 279.9
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#797C96
secondary
#BCBAAF
accent
#AE73B5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F11
muted
#7E7E80

Preview Lab

Preview with #797C96

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

Preview Lab → · Contrast checker → · Palette generator →

#797C96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva