#7A7C8A#7A7C8A

#7A7C8A is a mid, muted grey. Relative luminance 0.204; OKLCH L 58.9% C 0.021 H 279.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7A7C8A
RGBrgb(122, 124, 138)
HSLhsl(233, 6%, 51%)
HSVhsv(233, 12%, 54%)
CMYKcmyk(11.6%, 10.1%, 0%, 45.9%)
CIE-LABlab(52.27, 2.22, -7.83)
CIE-LCHlch(52.27, 8.14, 285.84°)
OKLaboklab(58.94% 0.0034 -0.0211)
OKLCHoklch(58.94% 0.021 279.3)
XYZxyz(19.8202, 20.3877, 26.9308)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7C8A #8A887A
analogous
#7A848A #7A7C8A #807A8A
triadic
#7A7C8A #8A7A7C #7C8A7A
tetradic
#7A7C8A #8A7A84 #8A887A #7A8A80
square
#7A7C8A #8A7A84 #8A887A #7A8A80
split-complementary
#7A7C8A #8A807A #848A7A
monochromatic
#404149 #5D5F6A #7A7C8A #9B9CA7 #BBBCC3

Accessibility & contrast

On white

4.14
#7A7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7A7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7C8A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7C8A#FFFFFF#000000##000000
##7A7C8A1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797D8B
Deuteranopia (green-blind)
#787C8A
Tritanopia (blue-blind)
#777E80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a7c8a;
/* rgb */ color: rgb(122, 124, 138);
/* oklch */ color: oklch(58.9% 0.021 279.3);
Tailwind
colors: {
  custom: {
    50: '#a0a1ac',
    500: '#7a7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7c8a;
$custom-light: #a0a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7c8a",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 232.5,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.02137,
    "h": 279.3
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#7A7C8A
secondary
#B3B3AC
accent
#A978AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #7A7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#7A7C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva