#797B95#797B95

#797B95 is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.1% C 0.040 H 281.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#797B95
RGBrgb(121, 123, 149)
HSLhsl(236, 12%, 53%)
HSVhsv(236, 19%, 58%)
CMYKcmyk(18.8%, 17.4%, 0%, 41.6%)
CIE-LABlab(52.29, 4.98, -14.25)
CIE-LCHlch(52.29, 15.09, 289.28°)
OKLaboklab(59.05% 0.008 -0.0388)
OKLCHoklch(59.05% 0.04 281.7)
XYZxyz(20.3917, 20.4005, 31.2913)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B95 #959379
analogous
#798995 #797B95 #857995
triadic
#797B95 #95797B #7B9579
tetradic
#797B95 #957989 #959379 #799585
square
#797B95 #957989 #959379 #799585
split-complementary
#797B95 #958579 #899579
monochromatic
#414252 #5C5E75 #797B95 #9B9DB0 #BDBECB

Accessibility & contrast

On white

4.13
#797B95 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#797B95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B95
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B95#FFFFFF#000000##000000
##797B951.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E96
Deuteranopia (green-blind)
#737C94
Tritanopia (blue-blind)
#737F84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797b95;
/* rgb */ color: rgb(121, 123, 149);
/* oklch */ color: oklch(59.1% 0.040 281.7);
Tailwind
colors: {
  custom: {
    50: '#a0a1b4',
    500: '#797b95',
    950: '#000000',
  },
}
SCSS
$custom: #797b95;
$custom-light: #a0a1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#797b95",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 149
  },
  "hsl": {
    "h": 235.714,
    "s": 11.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.03962,
    "h": 281.7
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

primary
#797B95
secondary
#BBBAAF
accent
#B073B5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797B95

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

Preview Lab → · Contrast checker → · Palette generator →

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