#797E91#797E91

#797E91 is a mid, muted blue. Relative luminance 0.210; OKLCH L 59.5% C 0.030 H 273.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#797E91
RGBrgb(121, 126, 145)
HSLhsl(228, 10%, 52%)
HSVhsv(228, 17%, 57%)
CMYKcmyk(16.6%, 13.1%, 0%, 43.1%)
CIE-LABlab(52.98, 2.30, -10.86)
CIE-LCHlch(52.98, 11.10, 281.93°)
OKLaboklab(59.55% 0.002 -0.0294)
OKLCHoklch(59.55% 0.03 273.8)
XYZxyz(20.4557, 21.0307, 29.7642)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E91 #918C79
analogous
#798A91 #797E91 #807991
triadic
#797E91 #91797E #7E9179
tetradic
#797E91 #91798A #918C79 #799180
square
#797E91 #91798A #918C79 #799180
split-complementary
#797E91 #918079 #8A9179
monochromatic
#41444F #5C6170 #797E91 #9B9EAD #BCBFC8

Accessibility & contrast

On white

4.03
#797E91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#797E91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E91
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E91#FFFFFF#000000##000000
##797E911.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#797F92
Deuteranopia (green-blind)
#777E91
Tritanopia (blue-blind)
#748184
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797e91;
/* rgb */ color: rgb(121, 126, 145);
/* oklch */ color: oklch(59.5% 0.030 273.8);
Tailwind
colors: {
  custom: {
    50: '#a0a3b1',
    500: '#797e91',
    950: '#000000',
  },
}
SCSS
$custom: #797e91;
$custom-light: #a0a3b1;
$custom-dark: #000000;
JSON
{
  "hex": "#797e91",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 145
  },
  "hsl": {
    "h": 227.5,
    "s": 9.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.02951,
    "h": 273.8
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#797E91
secondary
#B8B6AE
accent
#A675B3
background
#F9FAFA
surface
#F2F3F5
border
#CCCDCF
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #797E91

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

Preview Lab → · Contrast checker → · Palette generator →

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