#797C8D#797C8D

#797C8D is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.0% C 0.026 H 277.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#797C8D
RGBrgb(121, 124, 141)
HSLhsl(231, 8%, 51%)
HSVhsv(231, 14%, 55%)
CMYKcmyk(14.2%, 12.1%, 0%, 44.7%)
CIE-LABlab(52.29, 2.54, -9.57)
CIE-LCHlch(52.29, 9.90, 284.88°)
OKLaboklab(58.96% 0.0035 -0.0259)
OKLCHoklch(58.96% 0.026 277.6)
XYZxyz(19.8995, 20.4031, 28.0839)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C8D #8D8A79
analogous
#79868D #797C8D #80798D
triadic
#797C8D #8D797C #7C8D79
tetradic
#797C8D #8D7986 #8D8A79 #798D80
square
#797C8D #8D7986 #8D8A79 #798D80
split-complementary
#797C8D #8D8079 #868D79
monochromatic
#40424B #5C5F6C #797C8D #9A9CA9 #BBBDC5

Accessibility & contrast

On white

4.13
#797C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#797C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C8D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C8D#FFFFFF#000000##000000
##797C8D1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8E
Deuteranopia (green-blind)
#777C8D
Tritanopia (blue-blind)
#757F81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797c8d;
/* rgb */ color: rgb(121, 124, 141);
/* oklch */ color: oklch(59.0% 0.026 277.6);
Tailwind
colors: {
  custom: {
    50: '#9fa1ae',
    500: '#797c8d',
    950: '#000000',
  },
}
SCSS
$custom: #797c8d;
$custom-light: #9fa1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#797c8d",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 231,
    "s": 8.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.02609,
    "h": 277.6
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#797C8D
secondary
#B5B4AC
accent
#A877B1
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #797C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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