Swatchproof

Light gray #D3D3D3

Light gray is one of the named colours in CSS, written lightgray or lightgrey. Black text reaches 14.03:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordlightgray or lightgrey
HEX#D3D3D3
RGBrgb(211 211 211)
HSLhsl(0 0% 83%)
OKLCHoklch(86.7% 0.000 0)
White text1.50:1 · body text AA Fail
Black text14.03:1 · body text AA Pass

Colours that go with Light gray

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Nile Blue (#BCE4E5), close. These are the colours Wada paired it with, ranked by their contrast with Light gray itself.

ColourHEXContrast with Light grayBody text AA
Deep Slate Olive#2531229.10:1Pass
Hay's Russet#7933276.06:1Pass
Blue Violet#6450A14.38:1Fail
Antwarp Blue#0071903.73:1Fail
Etruscan Red#C553472.98:1Fail
Dull Viridian Green#0094652.59:1Fail
Raw Sienna#BB71252.55:1Fail
Green Blue#0991972.55:1Fail
Benzol Green#00978D2.41:1Fail
Peach Red#F15A302.25:1Fail
Light Brown Drab#B593921.86:1Fail
Sea Green#00B49B1.75:1Fail
Salvia Blue#97ACC81.55:1Fail
Ecru#C2AE931.44:1Fail
Pyrite Yellow#CAB3561.39:1Fail
Venice Green#62C6BF1.36:1Fail
Lemon Yellow#F8ED431.23:1Fail
Olive Buff#C1C4941.21:1Fail
Cream Yellow#FDBF681.09:1Fail

Palettes with Nile Blue

Shades and tints of Light gray

Nine lightness steps in OKLCH that keep the hue of Light gray. Chroma is reduced only where sRGB cannot show it.

:root {
  --lightgray-100: #F5F5F5;
  --lightgray-200: #E4E4E4;
  --lightgray-300: #CECECE;
  --lightgray-400: #B1B1B1;
  --lightgray-500: #929292;
  --lightgray-600: #717171;
  --lightgray-700: #555555;
  --lightgray-800: #3A3A3A;
  --lightgray-900: #222222;
}

Text that keeps Light gray on screen

Text #222222 on #D3D3D3 reaches 10.63:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours