#797C8E#797C8E

#797C8E is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.0% C 0.028 H 278.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#797C8E
RGBrgb(121, 124, 142)
HSLhsl(231, 9%, 52%)
HSVhsv(231, 15%, 56%)
CMYKcmyk(14.8%, 12.7%, 0%, 44.3%)
CIE-LABlab(52.32, 2.77, -10.10)
CIE-LCHlch(52.32, 10.48, 285.33°)
OKLaboklab(59% 0.0039 -0.0273)
OKLCHoklch(59% 0.028 278)
XYZxyz(19.9742, 20.4330, 28.4776)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C8E #8E8B79
analogous
#79878E #797C8E #81798E
triadic
#797C8E #8E797C #7C8E79
tetradic
#797C8E #8E7987 #8E8B79 #798E81
square
#797C8E #8E7987 #8E8B79 #798E81
split-complementary
#797C8E #8E8179 #878E79
monochromatic
#40424C #5C5F6D #797C8E #9A9CAA #BBBDC6

Accessibility & contrast

On white

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

On black

5.09
#797C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C8E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C8E#FFFFFF#000000##000000
##797C8E1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E8F
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#747F82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797c8e;
/* rgb */ color: rgb(121, 124, 142);
/* oklch */ color: oklch(59.0% 0.028 278.0);
Tailwind
colors: {
  custom: {
    50: '#9fa1af',
    500: '#797c8e',
    950: '#000000',
  },
}
SCSS
$custom: #797c8e;
$custom-light: #9fa1af;
$custom-dark: #000000;
JSON
{
  "hex": "#797c8e",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 231.429,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.0276,
    "h": 278
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#797C8E
secondary
#B6B5AD
accent
#A976B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #797C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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