#797993#797993

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

Color values

HEX#797993
RGBrgb(121, 121, 147)
HSLhsl(240, 11%, 53%)
HSVhsv(240, 18%, 58%)
CMYKcmyk(17.7%, 17.7%, 0%, 42.4%)
CIE-LABlab(51.66, 5.69, -14.02)
CIE-LCHlch(51.66, 15.13, 292.07°)
OKLaboklab(58.54% 0.0103 -0.0382)
OKLCHoklch(58.54% 0.04 285.1)
XYZxyz(19.9878, 19.8460, 30.3757)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797993 #939379
analogous
#798693 #797993 #867993
triadic
#797993 #937979 #799379
tetradic
#797993 #937986 #939379 #799386
square
#797993 #937986 #939379 #799386
split-complementary
#797993 #938679 #869379
monochromatic
#414151 #5C5C73 #797993 #9B9BAE #BDBDCA

Accessibility & contrast

On white

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

On black

4.97
#797993 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797993
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797993#FFFFFF#000000##000000
##7979931.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#737C94
Deuteranopia (green-blind)
#727A92
Tritanopia (blue-blind)
#747D82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797993;
/* rgb */ color: rgb(121, 121, 147);
/* oklch */ color: oklch(58.5% 0.040 285.1);
Tailwind
colors: {
  custom: {
    50: '#a09fb2',
    500: '#797993',
    950: '#000000',
  },
}
SCSS
$custom: #797993;
$custom-light: #a09fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#797993",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 10.744,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.03953,
    "h": 285.1
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#797993
secondary
#BABAAE
accent
#B474B4
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797993

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

Preview Lab → · Contrast checker → · Palette generator →

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