#646870#646870

#646870 is a mid, near-neutral grey. Relative luminance 0.138; OKLCH L 51.7% C 0.014 H 264.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#646870
RGBrgb(100, 104, 112)
HSLhsl(220, 6%, 42%)
HSVhsv(220, 11%, 44%)
CMYKcmyk(10.7%, 7.1%, 0%, 56.1%)
CIE-LABlab(43.92, 0.21, -5.01)
CIE-LCHlch(43.92, 5.01, 272.45°)
OKLaboklab(51.66% -0.0013 -0.0135)
OKLCHoklch(51.66% 0.014 264.4)
XYZxyz(13.1298, 13.7797, 17.2941)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646870 #706C64
analogous
#646E70 #646870 #666470
triadic
#646870 #706468 #687064
tetradic
#646870 #70646E #706C64 #647066
square
#646870 #70646E #706C64 #647066
split-complementary
#646870 #706664 #6E7064
monochromatic
#2A2C2F #474A50 #646870 #82868F #A2A6AC

Accessibility & contrast

On white

5.59
#646870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#646870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646870
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646870#FFFFFF#000000##FFFFFF
##6468701.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666870
Deuteranopia (green-blind)
#656770
Tritanopia (blue-blind)
#616A6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646870;
/* rgb */ color: rgb(100, 104, 112);
/* oklch */ color: oklch(51.7% 0.014 264.4);
Tailwind
colors: {
  custom: {
    50: '#909399',
    500: '#646870',
    950: '#000000',
  },
}
SCSS
$custom: #646870;
$custom-light: #909399;
$custom-dark: #000000;
JSON
{
  "hex": "#646870",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 112
  },
  "hsl": {
    "h": 220,
    "s": 5.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.01352,
    "h": 264.4
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#646870
secondary
#9C9994
accent
#9D79AF
background
#F8F9F9
surface
#F0F1F2
border
#CBCBCC
text
#0C0D0D
muted
#7D7E7E

Preview Lab

Preview with #646870

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

Preview Lab → · Contrast checker → · Palette generator →

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