#797992#797992

#797992 is a mid, muted blue. Relative luminance 0.198; OKLCH L 58.5% C 0.038 H 285.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#797992
RGBrgb(121, 121, 146)
HSLhsl(240, 10%, 52%)
HSVhsv(240, 17%, 57%)
CMYKcmyk(17.1%, 17.1%, 0%, 42.7%)
CIE-LABlab(51.63, 5.45, -13.49)
CIE-LCHlch(51.63, 14.55, 292.00°)
OKLaboklab(58.5% 0.0099 -0.0367)
OKLCHoklch(58.5% 0.038 285.2)
XYZxyz(19.9097, 19.8148, 29.9643)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797992 #929279
analogous
#798692 #797992 #867992
triadic
#797992 #927979 #799279
tetradic
#797992 #927986 #929279 #799286
square
#797992 #927986 #929279 #799286
split-complementary
#797992 #928679 #869279
monochromatic
#414150 #5C5C71 #797992 #9B9BAD #BCBCC9

Accessibility & contrast

On white

4.23
#797992 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#797992 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797992
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797992#FFFFFF#000000##000000
##7979921.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#737C93
Deuteranopia (green-blind)
#727A91
Tritanopia (blue-blind)
#747D81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797992;
/* rgb */ color: rgb(121, 121, 146);
/* oklch */ color: oklch(58.5% 0.038 285.2);
Tailwind
colors: {
  custom: {
    50: '#a09fb2',
    500: '#797992',
    950: '#000000',
  },
}
SCSS
$custom: #797992;
$custom-light: #a09fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#797992",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 10.288,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.03801,
    "h": 285.2
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#797992
secondary
#B9B9AE
accent
#B375B3
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797992

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

Preview Lab → · Contrast checker → · Palette generator →

#797992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva