#797C99#797C99

#797C99 is a mid, muted blue. Relative luminance 0.208; OKLCH L 59.4% C 0.044 H 280.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#797C99
RGBrgb(121, 124, 153)
HSLhsl(234, 14%, 54%)
HSVhsv(234, 21%, 60%)
CMYKcmyk(20.9%, 19%, 0%, 40%)
CIE-LABlab(52.71, 5.35, -15.94)
CIE-LCHlch(52.71, 16.82, 288.56°)
OKLaboklab(59.43% 0.0079 -0.0435)
OKLCHoklch(59.43% 0.044 280.3)
XYZxyz(20.8412, 20.7798, 33.0437)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C99 #999679
analogous
#798C99 #797C99 #867999
triadic
#797C99 #99797C #7C9979
tetradic
#797C99 #99798C #999679 #799986
square
#797C99 #99798C #999679 #799986
split-complementary
#797C99 #998679 #8C9979
monochromatic
#424356 #5C5F79 #797C99 #9C9EB3 #BEC0CE

Accessibility & contrast

On white

4.07
#797C99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#797C99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C99
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C99#FFFFFF#000000##000000
##797C991.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#747F9A
Deuteranopia (green-blind)
#737D98
Tritanopia (blue-blind)
#728186
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797c99;
/* rgb */ color: rgb(121, 124, 153);
/* oklch */ color: oklch(59.4% 0.044 280.3);
Tailwind
colors: {
  custom: {
    50: '#a0a1b7',
    500: '#797c99',
    950: '#000000',
  },
}
SCSS
$custom: #797c99;
$custom-light: #a0a1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#797c99",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 153
  },
  "hsl": {
    "h": 234.375,
    "s": 13.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.04426,
    "h": 280.3
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#797C99
secondary
#BEBCB0
accent
#B071B6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F11
muted
#7E7E80

Preview Lab

Preview with #797C99

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

Preview Lab → · Contrast checker → · Palette generator →

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