#797694#797694

#797694 is a mid, muted blue. Relative luminance 0.192; OKLCH L 57.9% C 0.046 H 289.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797694
RGBrgb(121, 118, 148)
HSLhsl(246, 12%, 52%)
HSVhsv(246, 20%, 58%)
CMYKcmyk(18.2%, 20.3%, 0%, 42%)
CIE-LABlab(50.87, 7.69, -15.81)
CIE-LCHlch(50.87, 17.58, 295.95°)
OKLaboklab(57.94% 0.0153 -0.0431)
OKLCHoklch(57.94% 0.046 289.5)
XYZxyz(19.7077, 19.1597, 30.6711)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797694 #919476
analogous
#768294 #797694 #887694
triadic
#797694 #947976 #769479
tetradic
#797694 #947682 #919476 #769488
square
#797694 #947682 #919476 #769488
split-complementary
#797694 #948876 #829476
monochromatic
#413F51 #5C5A73 #797694 #9B98AF #BCBBCA

Accessibility & contrast

On white

4.35
#797694 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#797694 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797694
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797694#FFFFFF#000000##000000
##7976941.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7A95
Deuteranopia (green-blind)
#6F7893
Tritanopia (blue-blind)
#747B80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797694;
/* rgb */ color: rgb(121, 118, 148);
/* oklch */ color: oklch(57.9% 0.046 289.5);
Tailwind
colors: {
  custom: {
    50: '#a09db3',
    500: '#797694',
    950: '#000000',
  },
}
SCSS
$custom: #797694;
$custom-light: #a09db3;
$custom-dark: #000000;
JSON
{
  "hex": "#797694",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 148
  },
  "hsl": {
    "h": 246,
    "s": 12.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.04574,
    "h": 289.5
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#797694
secondary
#B8B9AC
accent
#B573AF
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797694

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

Preview Lab → · Contrast checker → · Palette generator →

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