HSL(222, 6%, 37%)
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(222,6%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 6%, 37%) | color: hsl(222, 6%, 37%) | |
| HEX | #595C64 | color: #595C64 | |
| RGB | rgb(89, 92, 100) | color: rgb(89, 92, 100) | |
| CMYK | cmyk(11%, 8%, 0%, 61%) | — | |
| HSV | hsv(224, 11%, 39%) | — | |
| HWB | hwb(224 35% 61%) | color: hwb(224 35% 61%) | |
| OKLCH | oklch(0.4749 0.0134 269.4) | color: oklch(0.4749 0.0134 269.4) | |
| Lab | lab(39.07 0.61 -4.98) | color: lab(39.07 0.61 -4.98) | |
| LCH | lch(39.07 5.02 276.98) | color: lch(39.07 5.02 276.98) |
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)
#5A5A62 — rgb(90, 90, 98)
Deuteranopia (Green-blind)
#5A5A62 — rgb(90, 90, 98)
Tritanopia (Blue-blind)
#596160 — rgb(89, 97, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 6%, 37%);
text
color: hsl(222, 6%, 37%);
border
border: 2px solid hsl(222, 6%, 37%);
gradient light
background: linear-gradient(to right, hsl(222, 6%, 57%), hsl(222, 6%, 37%));
gradient dark
background: linear-gradient(to right, hsl(222, 6%, 37%), hsl(222, 6%, 17%))
hex
background-color: #595C64;
tailwind
bg-[hsl(222,6%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 6%, 37%, 0.4);
css variable
--color-primary: hsl(222, 6%, 37%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(222, 6%, 37%)?
HEX: #595C64 | RGB: rgb(89, 92, 100) | CMYK: 11%, 8%, 0%, 61% | HSV: 224°, 11%, 39%. Copy any format from the conversion table above.
What colors go well with #595C64?
The complementary color is HSL(42, 6%, 37%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 6%, 37%) in CSS?
As HSL: color: hsl(222, 6%, 37%); — As HEX: color: #595C64; — As RGB: color: rgb(89, 92, 100); — Tailwind CSS: bg-[hsl(222,6%,37%)] — CSS variable: --color-primary: hsl(222, 6%, 37%);