HSL(227, 7%, 39%)
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(227,7%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 7%, 39%) | color: hsl(227, 7%, 39%) | |
| HEX | #5C606A | color: #5C606A | |
| RGB | rgb(92, 96, 106) | color: rgb(92, 96, 106) | |
| CMYK | cmyk(13%, 9%, 0%, 58%) | — | |
| HSV | hsv(223, 13%, 42%) | — | |
| HWB | hwb(223 37% 58%) | color: hwb(223 37% 58%) | |
| OKLCH | oklch(0.4891 0.0167 268.33) | color: oklch(0.4891 0.0167 268.33) | |
| Lab | lab(40.71 0.69 -6.2) | color: lab(40.71 0.69 -6.2) | |
| LCH | lch(40.71 6.24 276.35) | color: lch(40.71 6.24 276.35) |
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)
#5E5E68 — rgb(94, 94, 104)
Deuteranopia (Green-blind)
#5E5D67 — rgb(94, 93, 103)
Tritanopia (Blue-blind)
#5C6665 — rgb(92, 102, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 7%, 39%);
text
color: hsl(227, 7%, 39%);
border
border: 2px solid hsl(227, 7%, 39%);
gradient light
background: linear-gradient(to right, hsl(227, 7%, 59%), hsl(227, 7%, 39%));
gradient dark
background: linear-gradient(to right, hsl(227, 7%, 39%), hsl(227, 7%, 19%))
hex
background-color: #5C606A;
tailwind
bg-[hsl(227,7%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 7%, 39%, 0.4);
css variable
--color-primary: hsl(227, 7%, 39%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(227, 7%, 39%)?
HEX: #5C606A | RGB: rgb(92, 96, 106) | CMYK: 13%, 9%, 0%, 58% | HSV: 223°, 13%, 42%. Copy any format from the conversion table above.
What colors go well with #5C606A?
The complementary color is HSL(47, 7%, 39%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 7%, 39%) in CSS?
As HSL: color: hsl(227, 7%, 39%); — As HEX: color: #5C606A; — As RGB: color: rgb(92, 96, 106); — Tailwind CSS: bg-[hsl(227,7%,39%)] — CSS variable: --color-primary: hsl(227, 7%, 39%);