#797698#797698

#797698 is a mid, muted blue. Relative luminance 0.193; OKLCH L 58.1% C 0.052 H 288.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#797698
RGBrgb(121, 118, 152)
HSLhsl(245, 14%, 53%)
HSVhsv(245, 22%, 60%)
CMYKcmyk(20.4%, 22.4%, 0%, 40.4%)
CIE-LABlab(51.02, 8.65, -17.92)
CIE-LCHlch(51.02, 19.90, 295.76°)
OKLaboklab(58.1% 0.0166 -0.0491)
OKLCHoklch(58.1% 0.052 288.7)
XYZxyz(20.0298, 19.2886, 32.3675)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797698 #959876
analogous
#768498 #797698 #8A7698
triadic
#797698 #987976 #769879
tetradic
#797698 #987684 #959876 #76988A
square
#797698 #987684 #959876 #76988A
split-complementary
#797698 #988A76 #849876
monochromatic
#413F54 #5C5A77 #797698 #9B99B2 #BDBCCD

Accessibility & contrast

On white

4.32
#797698 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#797698 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797698
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797698#FFFFFF#000000##000000
##7976981.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A9A
Deuteranopia (green-blind)
#6E7997
Tritanopia (blue-blind)
#737C82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797698;
/* rgb */ color: rgb(121, 118, 152);
/* oklch */ color: oklch(58.1% 0.052 288.7);
Tailwind
colors: {
  custom: {
    50: '#a09db6',
    500: '#797698',
    950: '#000000',
  },
}
SCSS
$custom: #797698;
$custom-light: #a09db6;
$custom-dark: #000000;
JSON
{
  "hex": "#797698",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 152
  },
  "hsl": {
    "h": 245.294,
    "s": 14.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.0518,
    "h": 288.7
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#797698
secondary
#BBBCAE
accent
#B771B1
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797698

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

Preview Lab → · Contrast checker → · Palette generator →

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