#6C787E#6C787E

#6C787E is a mid, near-neutral grey. Relative luminance 0.181; OKLCH L 56.5% C 0.017 H 229.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6C787E
RGBrgb(108, 120, 126)
HSLhsl(200, 8%, 46%)
HSVhsv(200, 14%, 49%)
CMYKcmyk(14.3%, 4.8%, 0%, 50.6%)
CIE-LABlab(49.65, -3.12, -4.80)
CIE-LCHlch(49.65, 5.72, 236.98°)
OKLaboklab(56.47% -0.0112 -0.0129)
OKLCHoklch(56.47% 0.017 229.2)
XYZxyz(16.6658, 18.1271, 22.3555)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C787E #7E726C
analogous
#6C7E7B #6C787E #6C6F7E
triadic
#6C787E #7E6C78 #787E6C
tetradic
#6C787E #7B6C7E #7E726C #6F7E6C
square
#6C787E #7B6C7E #7E726C #6F7E6C
split-complementary
#6C787E #7E6C6F #7E7B6C
monochromatic
#34393C #50595D #6C787E #8B969C #ACB4B8

Accessibility & contrast

On white

4.54
#6C787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6C787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C787E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C787E#FFFFFF#000000##000000
##6C787E1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75777E
Deuteranopia (green-blind)
#72757E
Tritanopia (blue-blind)
#677A7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6c787e;
/* rgb */ color: rgb(108, 120, 126);
/* oklch */ color: oklch(56.5% 0.017 229.2);
Tailwind
colors: {
  custom: {
    50: '#969fa3',
    500: '#6c787e',
    950: '#000000',
  },
}
SCSS
$custom: #6c787e;
$custom-light: #969fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c787e",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 200,
    "s": 7.692,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.0171,
    "h": 229.2
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#6C787E
secondary
#A8A19E
accent
#8A77B1
background
#F9F9FA
surface
#F2F2F3
border
#CCCCCD
text
#0D0E0F
muted
#7E7E7F

Preview Lab

Preview with #6C787E

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

Preview Lab → · Contrast checker → · Palette generator →

#6C787E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva