#797C8F#797C8F

#797C8F is a mid, muted blue. Relative luminance 0.205; OKLCH L 59.0% C 0.029 H 278.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#797C8F
RGBrgb(121, 124, 143)
HSLhsl(232, 9%, 52%)
HSVhsv(232, 15%, 56%)
CMYKcmyk(15.4%, 13.3%, 0%, 43.9%)
CIE-LABlab(52.36, 3.00, -10.64)
CIE-LCHlch(52.36, 11.05, 285.74°)
OKLaboklab(59.04% 0.0042 -0.0288)
OKLCHoklch(59.04% 0.029 278.4)
XYZxyz(20.0496, 20.4632, 28.8748)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C8F #8F8C79
analogous
#79878F #797C8F #81798F
triadic
#797C8F #8F797C #7C8F79
tetradic
#797C8F #8F7987 #8F8C79 #798F81
square
#797C8F #8F7987 #8F8C79 #798F81
split-complementary
#797C8F #8F8179 #878F79
monochromatic
#40424D #5C5F6E #797C8F #9A9DAB #BCBDC7

Accessibility & contrast

On white

4.12
#797C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#797C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C8F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C8F#FFFFFF#000000##000000
##797C8F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E90
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#747F82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797c8f;
/* rgb */ color: rgb(121, 124, 143);
/* oklch */ color: oklch(59.0% 0.029 278.4);
Tailwind
colors: {
  custom: {
    50: '#9fa1af',
    500: '#797c8f',
    950: '#000000',
  },
}
SCSS
$custom: #797c8f;
$custom-light: #9fa1af;
$custom-dark: #000000;
JSON
{
  "hex": "#797c8f",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 143
  },
  "hsl": {
    "h": 231.818,
    "s": 8.943,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.02911,
    "h": 278.4
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#797C8F
secondary
#B7B5AD
accent
#AA76B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #797C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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