#797E99#797E99

#797E99 is a mid, muted blue. Relative luminance 0.213; OKLCH L 59.9% C 0.042 H 276.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#797E99
RGBrgb(121, 126, 153)
HSLhsl(231, 14%, 54%)
HSVhsv(231, 21%, 60%)
CMYKcmyk(20.9%, 17.6%, 0%, 40%)
CIE-LABlab(53.26, 4.18, -15.10)
CIE-LCHlch(53.26, 15.67, 285.49°)
OKLaboklab(59.86% 0.0049 -0.0412)
OKLCHoklch(59.86% 0.042 276.8)
XYZxyz(21.0944, 21.2862, 33.1281)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E99 #999479
analogous
#798E99 #797E99 #847999
triadic
#797E99 #99797E #7E9979
tetradic
#797E99 #99798E #999479 #799984
square
#797E99 #99798E #999479 #799984
split-complementary
#797E99 #998479 #8E9979
monochromatic
#424556 #5C6079 #797E99 #9C9FB3 #BEC1CE

Accessibility & contrast

On white

3.99
#797E99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#797E99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E99
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E99#FFFFFF#000000##000000
##797E991.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77809A
Deuteranopia (green-blind)
#757E98
Tritanopia (blue-blind)
#728387
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797e99;
/* rgb */ color: rgb(121, 126, 153);
/* oklch */ color: oklch(59.9% 0.042 276.8);
Tailwind
colors: {
  custom: {
    50: '#a0a3b7',
    500: '#797e99',
    950: '#000000',
  },
}
SCSS
$custom: #797e99;
$custom-light: #a0a3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#797e99",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 153
  },
  "hsl": {
    "h": 230.625,
    "s": 13.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.0415,
    "h": 276.8
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#797E99
secondary
#BEBCB0
accent
#AC71B6
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #797E99

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

Preview Lab → · Contrast checker → · Palette generator →

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