#797A91#797A91

#797A91 is a mid, muted blue. Relative luminance 0.200; OKLCH L 58.7% C 0.035 H 283.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#797A91
RGBrgb(121, 122, 145)
HSLhsl(238, 10%, 52%)
HSVhsv(238, 17%, 57%)
CMYKcmyk(16.6%, 15.9%, 0%, 43.1%)
CIE-LABlab(51.87, 4.63, -12.54)
CIE-LCHlch(51.87, 13.37, 290.26°)
OKLaboklab(58.68% 0.0081 -0.034)
OKLCHoklch(58.68% 0.035 283.3)
XYZxyz(19.9544, 20.0281, 29.5971)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A91 #919079
analogous
#798691 #797A91 #847991
triadic
#797A91 #91797A #7A9179
tetradic
#797A91 #917986 #919079 #799184
square
#797A91 #917986 #919079 #799184
split-complementary
#797A91 #918479 #869179
monochromatic
#41414F #5C5D70 #797A91 #9B9BAD #BCBDC8

Accessibility & contrast

On white

4.20
#797A91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#797A91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A91
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A91#FFFFFF#000000##000000
##797A911.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#747C92
Deuteranopia (green-blind)
#747B90
Tritanopia (blue-blind)
#747E82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797a91;
/* rgb */ color: rgb(121, 122, 145);
/* oklch */ color: oklch(58.7% 0.035 283.3);
Tailwind
colors: {
  custom: {
    50: '#a0a0b1',
    500: '#797a91',
    950: '#000000',
  },
}
SCSS
$custom: #797a91;
$custom-light: #a0a0b1;
$custom-dark: #000000;
JSON
{
  "hex": "#797a91",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 145
  },
  "hsl": {
    "h": 237.5,
    "s": 9.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.03499,
    "h": 283.3
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#797A91
secondary
#B8B8AE
accent
#B075B3
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797A91

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

Preview Lab → · Contrast checker → · Palette generator →

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