#797E97#797E97

#797E97 is a mid, muted blue. Relative luminance 0.212; OKLCH L 59.8% C 0.038 H 276.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#797E97
RGBrgb(121, 126, 151)
HSLhsl(230, 13%, 53%)
HSVhsv(230, 20%, 59%)
CMYKcmyk(19.9%, 16.6%, 0%, 40.8%)
CIE-LABlab(53.19, 3.70, -14.05)
CIE-LCHlch(53.19, 14.53, 284.78°)
OKLaboklab(59.78% 0.0042 -0.0383)
OKLCHoklch(59.78% 0.038 276.3)
XYZxyz(20.9306, 21.2206, 32.2654)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E97 #979279
analogous
#798D97 #797E97 #837997
triadic
#797E97 #97797E #7E9779
tetradic
#797E97 #97798D #979279 #799783
square
#797E97 #97798D #979279 #799783
split-complementary
#797E97 #978379 #8D9779
monochromatic
#414554 #5C6177 #797E97 #9B9FB2 #BEC0CC

Accessibility & contrast

On white

4.00
#797E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#797E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E97
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E97#FFFFFF#000000##000000
##797E971.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#778098
Deuteranopia (green-blind)
#757E96
Tritanopia (blue-blind)
#728286
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797e97;
/* rgb */ color: rgb(121, 126, 151);
/* oklch */ color: oklch(59.8% 0.038 276.3);
Tailwind
colors: {
  custom: {
    50: '#a0a3b5',
    500: '#797e97',
    950: '#000000',
  },
}
SCSS
$custom: #797e97;
$custom-light: #a0a3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#797e97",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 230,
    "s": 12.605,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.03849,
    "h": 276.3
  },
  "luminance": 0.21221
}

Semantic roles & 50–950 ramp

primary
#797E97
secondary
#BCBAAF
accent
#AA72B5
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #797E97

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

Preview Lab → · Contrast checker → · Palette generator →

#797E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva