#79798F#79798F

#79798F is a mid, muted blue. Relative luminance 0.197; OKLCH L 58.4% C 0.033 H 285.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#79798F
RGBrgb(121, 121, 143)
HSLhsl(240, 9%, 52%)
HSVhsv(240, 15%, 56%)
CMYKcmyk(15.4%, 15.4%, 0%, 43.9%)
CIE-LABlab(51.52, 4.75, -11.89)
CIE-LCHlch(51.52, 12.81, 291.79°)
OKLaboklab(58.38% 0.0088 -0.0322)
OKLCHoklch(58.38% 0.033 285.3)
XYZxyz(19.6794, 19.7227, 28.7513)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79798F #8F8F79
analogous
#79848F #79798F #84798F
triadic
#79798F #8F7979 #798F79
tetradic
#79798F #8F7984 #8F8F79 #798F84
square
#79798F #8F7984 #8F8F79 #798F84
split-complementary
#79798F #8F8479 #848F79
monochromatic
#40404D #5C5C6E #79798F #9A9AAB #BCBCC7

Accessibility & contrast

On white

4.25
#79798F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#79798F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79798F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79798F#FFFFFF#000000##000000
##79798F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#747B90
Deuteranopia (green-blind)
#737A8E
Tritanopia (blue-blind)
#757D80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79798f;
/* rgb */ color: rgb(121, 121, 143);
/* oklch */ color: oklch(58.4% 0.033 285.3);
Tailwind
colors: {
  custom: {
    50: '#a09faf',
    500: '#79798f',
    950: '#000000',
  },
}
SCSS
$custom: #79798f;
$custom-light: #a09faf;
$custom-dark: #000000;
JSON
{
  "hex": "#79798f",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 8.943,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.03344,
    "h": 285.3
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#79798F
secondary
#B7B7AD
accent
#B276B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #79798F

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

Preview Lab → · Contrast checker → · Palette generator →

#79798F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva