HSL(237, 2%, 38%)
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(237,2%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 2%, 38%) | color: hsl(237, 2%, 38%) | |
| HEX | #5F5F63 | color: #5F5F63 | |
| RGB | rgb(95, 95, 99) | color: rgb(95, 95, 99) | |
| CMYK | cmyk(4%, 4%, 0%, 61%) | — | |
| HSV | hsv(240, 4%, 39%) | — | |
| HWB | hwb(240 37% 61%) | color: hwb(240 37% 61%) | |
| OKLCH | oklch(0.4869 0.0063 286.16) | color: oklch(0.4869 0.0063 286.16) | |
| Lab | lab(40.44 0.85 -2.28) | color: lab(40.44 0.85 -2.28) | |
| LCH | lch(40.44 2.43 290.45) | color: lch(40.44 2.43 290.45) |
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)
#5F5F62 — rgb(95, 95, 98)
Deuteranopia (Green-blind)
#5F5F62 — rgb(95, 95, 98)
Tritanopia (Blue-blind)
#5F6161 — rgb(95, 97, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 2%, 38%);
text
color: hsl(237, 2%, 38%);
border
border: 2px solid hsl(237, 2%, 38%);
gradient light
background: linear-gradient(to right, hsl(237, 2%, 58%), hsl(237, 2%, 38%));
gradient dark
background: linear-gradient(to right, hsl(237, 2%, 38%), hsl(237, 2%, 18%))
hex
background-color: #5F5F63;
tailwind
bg-[hsl(237,2%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 2%, 38%, 0.4);
css variable
--color-primary: hsl(237, 2%, 38%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 2%, 38%)?
HEX: #5F5F63 | RGB: rgb(95, 95, 99) | CMYK: 4%, 4%, 0%, 61% | HSV: 240°, 4%, 39%. Copy any format from the conversion table above.
What colors go well with #5F5F63?
The complementary color is HSL(57, 2%, 38%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 2%, 38%) in CSS?
As HSL: color: hsl(237, 2%, 38%); — As HEX: color: #5F5F63; — As RGB: color: rgb(95, 95, 99); — Tailwind CSS: bg-[hsl(237,2%,38%)] — CSS variable: --color-primary: hsl(237, 2%, 38%);