#797B99#797B99

#797B99 is a mid, muted blue. Relative luminance 0.205; OKLCH L 59.2% C 0.046 H 281.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#797B99
RGBrgb(121, 123, 153)
HSLhsl(236, 14%, 54%)
HSVhsv(236, 21%, 60%)
CMYKcmyk(20.9%, 19.6%, 0%, 40%)
CIE-LABlab(52.43, 5.94, -16.36)
CIE-LCHlch(52.43, 17.41, 289.96°)
OKLaboklab(59.21% 0.0094 -0.0447)
OKLCHoklch(59.21% 0.046 281.9)
XYZxyz(20.7165, 20.5304, 33.0021)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B99 #999779
analogous
#798B99 #797B99 #877999
triadic
#797B99 #99797B #7B9979
tetradic
#797B99 #99798B #999779 #799987
square
#797B99 #99798B #999779 #799987
split-complementary
#797B99 #998779 #8B9979
monochromatic
#424356 #5C5E79 #797B99 #9C9DB3 #BEBFCE

Accessibility & contrast

On white

4.11
#797B99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#797B99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B99
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B99#FFFFFF#000000##000000
##797B991.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E9A
Deuteranopia (green-blind)
#727C98
Tritanopia (blue-blind)
#728085
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797b99;
/* rgb */ color: rgb(121, 123, 153);
/* oklch */ color: oklch(59.2% 0.046 281.9);
Tailwind
colors: {
  custom: {
    50: '#a0a1b7',
    500: '#797b99',
    950: '#000000',
  },
}
SCSS
$custom: #797b99;
$custom-light: #a0a1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#797b99",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 153
  },
  "hsl": {
    "h": 236.25,
    "s": 13.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.04568,
    "h": 281.9
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

primary
#797B99
secondary
#BEBDB0
accent
#B271B6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797B99

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

Preview Lab → · Contrast checker → · Palette generator →

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