#7B7C8A#7B7C8A

#7B7C8A is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.0% C 0.021 H 282.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B7C8A
RGBrgb(123, 124, 138)
HSLhsl(236, 6%, 51%)
HSVhsv(236, 11%, 54%)
CMYKcmyk(10.9%, 10.1%, 0%, 45.9%)
CIE-LABlab(52.35, 2.58, -7.70)
CIE-LCHlch(52.35, 8.12, 288.50°)
OKLaboklab(59.02% 0.0046 -0.0207)
OKLCHoklch(59.02% 0.021 282.5)
XYZxyz(19.9625, 20.4611, 26.9375)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C8A #8A897B
analogous
#7B838A #7B7C8A #817B8A
triadic
#7B7C8A #8A7B7C #7C8A7B
tetradic
#7B7C8A #8A7B83 #8A897B #7B8A81
square
#7B7C8A #8A7B83 #8A897B #7B8A81
split-complementary
#7B7C8A #8A817B #838A7B
monochromatic
#414249 #5E5F6A #7B7C8A #9B9CA7 #BCBCC4

Accessibility & contrast

On white

4.12
#7B7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7B7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C8A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C8A#FFFFFF#000000##000000
##7B7C8A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7c8a;
/* rgb */ color: rgb(123, 124, 138);
/* oklch */ color: oklch(59.0% 0.021 282.5);
Tailwind
colors: {
  custom: {
    50: '#a1a1ac',
    500: '#7b7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c8a;
$custom-light: #a1a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c8a",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 236,
    "s": 6.024,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.02123,
    "h": 282.5
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#7B7C8A
secondary
#B4B3AD
accent
#AB79AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0F10
muted
#7E7E7F

Preview Lab

Preview with #7B7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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