HSL(218, 6%, 22%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(218,6%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 6%, 22%) | color: hsl(218, 6%, 22%) | |
| HEX | #35373B | color: #35373B | |
| RGB | rgb(53, 55, 59) | color: rgb(53, 55, 59) | |
| CMYK | cmyk(10%, 7%, 0%, 77%) | — | |
| HSV | hsv(220, 10%, 23%) | — | |
| HWB | hwb(220 21% 77%) | color: hwb(220 21% 77%) | |
| OKLCH | oklch(0.3364 0.0075 264.47) | color: oklch(0.3364 0.0075 264.47) | |
| Lab | lab(23.02 0.11 -2.79) | color: lab(23.02 0.11 -2.79) | |
| LCH | lch(23.02 2.79 272.26) | color: lch(23.02 2.79 272.26) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#36363A — rgb(54, 54, 58)
Deuteranopia (Green-blind)
#36363A — rgb(54, 54, 58)
Tritanopia (Blue-blind)
#353939 — rgb(53, 57, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 6%, 22%);
text
color: hsl(218, 6%, 22%);
border
border: 2px solid hsl(218, 6%, 22%);
gradient light
background: linear-gradient(to right, hsl(218, 6%, 42%), hsl(218, 6%, 22%));
gradient dark
background: linear-gradient(to right, hsl(218, 6%, 22%), hsl(218, 6%, 2%))
hex
background-color: #35373B;
tailwind
bg-[hsl(218,6%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 6%, 22%, 0.4);
css variable
--color-primary: hsl(218, 6%, 22%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(218, 6%, 22%)?
HEX: #35373B | RGB: rgb(53, 55, 59) | CMYK: 10%, 7%, 0%, 77% | HSV: 220°, 10%, 23%. Copy any format from the conversion table above.
What colors go well with #35373B?
The complementary color is HSL(38, 6%, 22%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 6%, 22%) in CSS?
As HSL: color: hsl(218, 6%, 22%); — As HEX: color: #35373B; — As RGB: color: rgb(53, 55, 59); — Tailwind CSS: bg-[hsl(218,6%,22%)] — CSS variable: --color-primary: hsl(218, 6%, 22%);