#797D95#797D95

#797D95 is a mid, muted blue. Relative luminance 0.209; OKLCH L 59.5% C 0.037 H 277.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#797D95
RGBrgb(121, 125, 149)
HSLhsl(231, 12%, 53%)
HSVhsv(231, 19%, 58%)
CMYKcmyk(18.8%, 16.1%, 0%, 41.6%)
CIE-LABlab(52.84, 3.81, -13.41)
CIE-LCHlch(52.84, 13.94, 285.88°)
OKLaboklab(59.48% 0.005 -0.0365)
OKLCHoklch(59.48% 0.037 277.8)
XYZxyz(20.6423, 20.9018, 31.3748)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D95 #959179
analogous
#798B95 #797D95 #837995
triadic
#797D95 #95797D #7D9579
tetradic
#797D95 #95798B #959179 #799583
square
#797D95 #95798B #959179 #799583
split-complementary
#797D95 #958379 #8B9579
monochromatic
#414452 #5C6075 #797D95 #9B9EB0 #BDBFCB

Accessibility & contrast

On white

4.05
#797D95 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#797D95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D95
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D95#FFFFFF#000000##000000
##797D951.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#777F96
Deuteranopia (green-blind)
#757D94
Tritanopia (blue-blind)
#738185
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797d95;
/* rgb */ color: rgb(121, 125, 149);
/* oklch */ color: oklch(59.5% 0.037 277.8);
Tailwind
colors: {
  custom: {
    50: '#a0a2b4',
    500: '#797d95',
    950: '#000000',
  },
}
SCSS
$custom: #797d95;
$custom-light: #a0a2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#797d95",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 149
  },
  "hsl": {
    "h": 231.429,
    "s": 11.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.03682,
    "h": 277.8
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#797D95
secondary
#BBB9AF
accent
#AB73B5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F11
muted
#7E7E80

Preview Lab

Preview with #797D95

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

Preview Lab → · Contrast checker → · Palette generator →

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