#797697#797697

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

Color values

HEX#797697
RGBrgb(121, 118, 151)
HSLhsl(245, 14%, 53%)
HSVhsv(245, 22%, 59%)
CMYKcmyk(19.9%, 21.9%, 0%, 40.8%)
CIE-LABlab(50.99, 8.41, -17.39)
CIE-LCHlch(50.99, 19.32, 295.80°)
OKLaboklab(58.06% 0.0163 -0.0476)
OKLCHoklch(58.06% 0.05 288.9)
XYZxyz(19.9482, 19.2559, 31.9380)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797697 #949776
analogous
#768397 #797697 #8A7697
triadic
#797697 #977976 #769779
tetradic
#797697 #977683 #949776 #76978A
square
#797697 #977683 #949776 #76978A
split-complementary
#797697 #978A76 #839776
monochromatic
#413F53 #5C5A76 #797697 #9B99B1 #BDBCCC

Accessibility & contrast

On white

4.33
#797697 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#797697 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797697
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797697#FFFFFF#000000##000000
##7976971.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A98
Deuteranopia (green-blind)
#6E7996
Tritanopia (blue-blind)
#737B81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797697;
/* rgb */ color: rgb(121, 118, 151);
/* oklch */ color: oklch(58.1% 0.050 288.9);
Tailwind
colors: {
  custom: {
    50: '#a09db5',
    500: '#797697',
    950: '#000000',
  },
}
SCSS
$custom: #797697;
$custom-light: #a09db5;
$custom-dark: #000000;
JSON
{
  "hex": "#797697",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 151
  },
  "hsl": {
    "h": 245.455,
    "s": 13.693,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.05028,
    "h": 288.9
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#797697
secondary
#BABCAD
accent
#B771B0
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797697

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

Preview Lab → · Contrast checker → · Palette generator →

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