Free Accessible CSS Gradient Generator

← All Colors
#778899 Light Slate Gray

Light Slate Gray Hex Code #778899

Light Slate Gray is a medium, muted gray with the hex code #778899. In RGB it is 119, 136, 153, and in HSL it is 210°, 14%, 53%. It is one of the 148 named colors in CSS, so you can write “lightslategray” instead of the hex code. It is also written as “lightslategrey”.

HEX
#778899
RGB
rgb(119, 136, 153)
HSL
hsl(210, 14%, 53%)
HSV
hsv(210°, 22%, 60%)
CMYK
cmyk(22%, 11%, 0%, 40%)
CSS name
lightslategray

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Light Slate Gray

On a white background Light Slate Gray has a contrast ratio of 3.64:1 (AA Large), and on black 5.77:1 (AA). Black text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Grays do much of the quiet work in interface design: text, borders, backgrounds and disabled states. Because they carry no strong hue, they pair with almost any accent color.

Shades and tints of Light Slate Gray

Tints mix Light Slate Gray with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Light Slate Gray

These schemes are calculated from Light Slate Gray on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Light Slate Gray is #998677, close to the named color Gray.

Light Slate Gray contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Light Slate Gray scores against white and black.

Contrast of Light Slate Gray with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 3.64:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 5.77:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Light Slate Gray3.64:1
Aa Black text on Light Slate Gray5.77:1

Light Slate Gray and color blindness

These are approximate previews of how Light Slate Gray can look with the main types of color vision deficiency.

Protanopia #82889A

Light Slate Gray looks almost the same.

Deuteranopia #7E8499

Light Slate Gray looks almost the same.

Tritanopia #6E8C8D

Light Slate Gray shifts slightly.

Achromatopsia #868686

Light Slate Gray shifts slightly.

Gradients with Light Slate Gray

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Light Slate Gray to a lighter tint

background: linear-gradient(135deg, #778899 0%, #c9cfd6 100%);

Light Slate Gray to its analogous neighbour

background: linear-gradient(135deg, #778899 0%, #777799 100%);

Light Slate Gray to its complement

background: linear-gradient(135deg, #778899 0%, #998877 100%);

Colors similar to Light Slate Gray

How each close match differs from Light Slate Gray.

More gray & black colors →

Use Light Slate Gray in code

CSS
.element {
  color: #778899;
  background-color: #778899;
  border-color: lightslategray;   /* lightslategray is a valid CSS color name */
}
CSS variable
:root {
  --color-light-slate-gray: #778899;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#778899] text-[#778899] border-[#778899]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-light-slate-gray: #778899;
}

Light Slate Gray questions

What is the hex code for Light Slate Gray?

The hex code for Light Slate Gray is #778899. In RGB that is rgb(119, 136, 153), and in HSL it is hsl(210, 14%, 53%).

What is the complementary color of Light Slate Gray?

On the RGB (screen) color wheel, the complement of Light Slate Gray is #998877, which is close to Gray. On the artist’s RYB wheel it is #998677, close to Gray.

Should I use white or black text on Light Slate Gray?

Black text. It has a contrast ratio of 5.77:1 against Light Slate Gray, which is WCAG AA. The other option scores 3.64:1.

Is Light Slate Gray accessible as a text color on white?

Only for large text. Light Slate Gray on white scores 3.64:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Light Slate Gray?

Mixing Light Slate Gray with black gives #5F6D7A, #47525C, #30363D, #181B1F (20% to 80% black). Mixing it with white gives #92A0AD, #ADB8C2, #C9CFD6, #E4E7EB (20% to 80% white).

More color tools