CSS named color
Light Slate Gray #778899
The CSS keyword lightslategray is #778899. It is a grayish blue in the neutral family. In OKLCH it sits at lightness 0.619, chroma 0.032 and hue 248.4°.
- Relative luminance
- 0.2383
- OKLCH L · C · h
- 0.619 · 0.032 · 248.4
- Best text
- Black 5.76:1
- Hue family
- Neutral
#778899 color codes
- HEX
#778899- RGB
rgb(119, 136, 153)- HSL
hsl(210, 14%, 53%)- OKLCH
oklch(0.619 0.032 248.4)- OKLab
oklab(0.619 -0.012 -0.030)- CIELAB (D65)
L* 55.92, a* -2.25, b* -11.11- XYZ (D65)
X 22.16, Y 23.83, Z 33.56- CMYK (naive)
cmyk(22%, 11%, 0%, 40%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #778899 accessible?
Black text on it reaches 5.76:1, passing AA. White text manages only 3.64:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
5.76:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +40
-
White text on it
3.64:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −69
-
As text on black
5.76:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −37
-
As text on white
3.64:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +64
Nearest versions that pass 4.5:1
-
For text on white
#677888 4.54:1
Darkening its OKLCH lightness from 0.62 to 0.56 reaches 4.54:1 on white, keeping the hue.
-
For text on black
#778899 5.76:1
It already reaches 5.76:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #778899 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #778899
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #778899 sits at step 500.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #778899 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.168; #778899 uses 19% of it. Display P3, which many recent phones and laptops show, reaches 0.218 there: 29% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.032
- sRGB edge
- 0.168
- Display P3 edge
- 0.218
- Rec. 2020 edge
- 0.235
- Dominant wavelength
- 480 nm
- Excitation purity
- 15%
- Chromaticity
- x 0.2786, y 0.2995
- This color#778899
- Most vivid in sRGB#008AE5
- Most vivid in Display P3oklch(0.619 0.218 248.4)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #778899;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0 0.5204 0.9704); }
}
Mixing
Mixing #778899
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#BBC4CC
- OKLab50%#B9C2CB
- OKLCH50%#B9C2CB
Black #000000
- sRGB50%#3C444D
- OKLab50%#2A3138
- OKLCH50%#2A3138
Its complement #938371
- sRGB50%#858685
- OKLab50%#868686
- OKLCH50%#768C7F
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #778899, white);
color: color-mix(in oklch, #778899 50%, white);
In use
#778899 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:15.76:1 Passes
- Link and body-size textText, 4.5:13.64:1 Fails
- Large headingLarge text, 3:13.64:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.64:1 Passes
For text on this page, the nearest shade that passes is #677888 4.54:1
Dark page
- Button labelText, 4.5:15.76:1 Passes
- Link and body-size textText, 4.5:15.14:1 Passes
- Large headingLarge text, 3:15.14:1 Passes
- Icons, borders and focus ringsNon-text, 3:15.14:1 Passes
Color vision
How #778899 looks with color blindness
Tritanopia changes it most, ΔE2000 10.4; protanopia changes it least, 5.2.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#82889A ΔE2000 5.2
Noticeable
Reads as grayish blue
-
Deuteranopia
No working green (medium-wavelength) cones
#7E8499 ΔE2000 6.0
Noticeable
Reads as grayish blue
-
Tritanopia
No working blue (short-wavelength) cones
#6E8C8D ΔE2000 10.4
Distinct
Reads as grayish cyan
-
Achromatopsia
No cone color vision; lightness only
#868686 ΔE2000 9.2
Noticeable
Reads as gray
Pairing check
A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.
Harmony
Color harmonies for #778899
Its complement is #938371, a grayish orange.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#778899
- Complement#938371
Complementary
Open in Harmony Studio- −30°#718B93
- Base#778899
- +30°#81849A
Analogous
Open in Harmony Studio- Base#778899
- +120°#987E82
- +240°#808A75
Triadic
Open in Harmony Studio- Base#778899
- +150°#988078
- +210°#8B8670
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-lightslategray: #778899;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
lightslategray: '#778899',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-lightslategray: oklch(0.619 0.032 248.4);
}
{
"color": {
"lightslategray": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.4667, 0.5333, 0.6],
"hex": "#778899"
},
"$description": "CSS named color lightslategray"
}
}
}
import SwiftUI
enum Palette {
static let lightslategray = Color(.sRGB, red: 0.467, green: 0.533, blue: 0.600, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Lightslategray = Color(0xFF778899)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #778899 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.