#797398#797398

#797398 is a mid, muted blue. Relative luminance 0.186; OKLCH L 57.5% C 0.057 H 292.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#797398
RGBrgb(121, 115, 152)
HSLhsl(250, 15%, 52%)
HSVhsv(250, 24%, 60%)
CMYKcmyk(20.4%, 24.3%, 0%, 40.4%)
CIE-LABlab(50.21, 10.43, -19.17)
CIE-LCHlch(50.21, 21.82, 298.56°)
OKLaboklab(57.47% 0.0212 -0.0525)
OKLCHoklch(57.47% 0.057 292)
XYZxyz(19.6821, 18.5932, 32.2516)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797398 #929873
analogous
#738098 #797398 #8C7398
triadic
#797398 #987973 #739879
tetradic
#797398 #987380 #929873 #73988C
square
#797398 #987380 #929873 #73988C
split-complementary
#797398 #988C73 #809873
monochromatic
#413D53 #5C5777 #797398 #9B96B2 #BCBACC

Accessibility & contrast

On white

4.45
#797398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#797398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797398
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797398#FFFFFF#000000##000000
##7973981.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A789A
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#737980
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797398;
/* rgb */ color: rgb(121, 115, 152);
/* oklch */ color: oklch(57.5% 0.057 292.0);
Tailwind
colors: {
  custom: {
    50: '#a09bb6',
    500: '#797398',
    950: '#000000',
  },
}
SCSS
$custom: #797398;
$custom-light: #a09bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#797398",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 249.73,
    "s": 15.226,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.05666,
    "h": 292
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#797398
secondary
#B9BBAB
accent
#B870AC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797398

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

Preview Lab → · Contrast checker → · Palette generator →

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