Gray color: codes and shades of gray
Gray (grey) is #808080 in HEX and rgb(128, 128, 128). Light gray is #D3D3D3, charcoal #36454F.
| HEX | #808080 | |
|---|---|---|
| RGB | rgb(128, 128, 128) | |
| HSL | hsl(0, 0%, 50%) | |
| CMYK | 0, 0, 0, 50 | |
| OKLCH | oklch(0.60 0.00 0) |
Formats
| HSV | hsv(0, 0%, 50%) | |
|---|---|---|
| LAB | lab(53.6 0.0 -0.0) | |
| OKLAB | oklab(0.600 0.000 0.000) | |
| DEC | 8421504 |
CMYK is approximate: printers differ
Shades of gray
#DCDCDC#D3D3D3#CFCFC4#C0C0C0#B2BEB5#A9A9A9#6699CC#8C92AC#8B8580#778899#808080#708090Show all 15 shades
#696969#36454F#2A3439The full grid lists every named gray with its code, from light to dark. CSS 'darkgray' is lighter than 'gray': a quirk from old color lists.
Gray palettes
Soft gray
#F7F7F5 #E3E3E0 #C4C4C0 #8E8E8A #3F3F3D
Gray and yellow
#6C757D #DEE2E6 #FFDB58 #FFFFFF
Gray and blush
#8E8E8A #F2B5B5 #F7F3EE #3F3F3D
Blue-gray
#36454F #708090 #B8C2C8 #F4F6F7
Gray sofa room
#8E8E8A #F5F0E6 #C19A6B #9CAF88 #1F2A44
What goes with gray
Gray goes with every color. With white and black it looks clean; with yellow, blush pink or coral it looks fresh; with navy and blue it looks calm; with wood, beige and sage it looks warm.
How to make gray
Mix black and white. Add a touch of blue for a cool gray or a touch of brown for a warm gray.
Gray is neutral, calm and modern. It stands for balance and seriousness, and it is the background color of much of the web and of many homes.
Printables
Shades of gray with names
Gray and grey are the same color: gray is the US spelling, grey the UK one. Light grays include gainsboro #DCDCDC, light gray #D3D3D3, pastel gray #CFCFC4 and silver #C0C0C0. Middle grays are gray #808080, dim gray #696969 and slate gray #708090. Grays with a tint have their own names: blue-gray #6699CC and cool gray #8C92AC lean blue, the bluish gray many people search for; warm gray #8B8580 leans brown. The dark grays are charcoal #36454F and gunmetal #2A3439.
Gray color codes
CSS gray is #808080, rgb(128, 128, 128): the same amount of red, green and blue. Every color with three equal values is a gray, from #000000 to #FFFFFF. The light gray hex code most people use is #D3D3D3 (CSS lightgray). Surprisingly, CSS darkgray is #A9A9A9, lighter than gray.
What colors go with gray
Gray goes with everything, which makes it the safest base for a room or a website. What colors go with a gray sofa? For a warm room, beige, cream, wood and terracotta; for a fresh one, white, mustard yellow and sage; for a calm one, navy and dusty blue. Does gray match with blue? Yes, especially blue-grays with navy. Blush pink and gray is soft and modern; yellow and gray is cheerful. Choose warm grays with warm colors and cool grays with cool ones.
How to make gray
Mix black and white, adding black slowly to white. Two opposite colors mixed with white also give a gray with more life.
Questions and answers
What is the gray hex code?
#808080, rgb(128, 128, 128).
What is the light grey hex code?
#D3D3D3 (CSS light gray). Gainsboro #DCDCDC is a bit lighter.
What colors go with gray?
Every color: white, black, navy, blue, yellow, blush pink, coral, sage, beige and wood.
What colours go with a grey sofa?
Cream, wood and terracotta for warmth; mustard or sage for freshness; navy for calm.
What is a bluish grey color called?
Blue-gray #6699CC, slate gray #708090 or cool gray #8C92AC.