#797E95#797E95

#797E95 is a mid, muted blue. Relative luminance 0.212; OKLCH L 59.7% C 0.035 H 275.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#797E95
RGBrgb(121, 126, 149)
HSLhsl(229, 12%, 53%)
HSVhsv(229, 19%, 58%)
CMYKcmyk(18.8%, 15.4%, 0%, 41.6%)
CIE-LABlab(53.12, 3.23, -12.99)
CIE-LCHlch(53.12, 13.38, 283.97°)
OKLaboklab(59.7% 0.0035 -0.0353)
OKLCHoklch(59.7% 0.035 275.6)
XYZxyz(20.7695, 21.1562, 31.4173)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E95 #959079
analogous
#798C95 #797E95 #827995
triadic
#797E95 #95797E #7E9579
tetradic
#797E95 #95798C #959079 #799582
square
#797E95 #95798C #959079 #799582
split-complementary
#797E95 #958279 #8C9579
monochromatic
#414452 #5C6175 #797E95 #9B9FB0 #BDC0CB

Accessibility & contrast

On white

4.01
#797E95 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#797E95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E95
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E95#FFFFFF#000000##000000
##797E951.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788096
Deuteranopia (green-blind)
#767E94
Tritanopia (blue-blind)
#738286
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797e95;
/* rgb */ color: rgb(121, 126, 149);
/* oklch */ color: oklch(59.7% 0.035 275.6);
Tailwind
colors: {
  custom: {
    50: '#a0a3b4',
    500: '#797e95',
    950: '#000000',
  },
}
SCSS
$custom: #797e95;
$custom-light: #a0a3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#797e95",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 149
  },
  "hsl": {
    "h": 229.286,
    "s": 11.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.03549,
    "h": 275.6
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

primary
#797E95
secondary
#BBB9AF
accent
#A973B5
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #797E95

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

Preview Lab → · Contrast checker → · Palette generator →

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