#626668#626668

#626668 is a mid, near-neutral grey. Relative luminance 0.131; OKLCH L 50.7% C 0.006 H 228.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#626668
RGBrgb(98, 102, 104)
HSLhsl(200, 3%, 40%)
HSVhsv(200, 6%, 41%)
CMYKcmyk(5.8%, 1.9%, 0%, 59.2%)
CIE-LABlab(42.91, -1.12, -1.66)
CIE-LCHlch(42.91, 2.00, 236.16°)
OKLaboklab(50.74% -0.0039 -0.0045)
OKLCHoklch(50.74% 0.006 228.9)
XYZxyz(12.2866, 13.0988, 14.9750)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626668 #686462
analogous
#626867 #626668 #626368
triadic
#626668 #686266 #666862
tetradic
#626668 #676268 #686462 #636862
square
#626668 #676268 #686462 #636862
split-complementary
#626668 #686263 #686762
monochromatic
#272829 #444748 #626668 #808587 #9FA3A5

Accessibility & contrast

On white

5.80
#626668 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#626668 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626668
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626668#FFFFFF#000000##FFFFFF
##6266681.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656668
Deuteranopia (green-blind)
#646568
Tritanopia (blue-blind)
#616767
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626668;
/* rgb */ color: rgb(98, 102, 104);
/* oklch */ color: oklch(50.7% 0.006 228.9);
Tailwind
colors: {
  custom: {
    50: '#8e9193',
    500: '#626668',
    950: '#000000',
  },
}
SCSS
$custom: #626668;
$custom-light: #8e9193;
$custom-dark: #000000;
JSON
{
  "hex": "#626668",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 104
  },
  "hsl": {
    "h": 200,
    "s": 2.97,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.00592,
    "h": 228.9
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#626668
secondary
#959291
accent
#8C7CAC
background
#F8F8F9
surface
#F0F0F1
border
#CBCBCB
text
#0C0C0D
muted
#7D7D7E

Preview Lab

Preview with #626668

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

Preview Lab → · Contrast checker → · Palette generator →

#626668 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva