HSL(231, 3%, 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(231,3%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 3%, 38%) | color: hsl(231, 3%, 38%) | |
| HEX | #5E5F64 | color: #5E5F64 | |
| RGB | rgb(94, 95, 100) | color: rgb(94, 95, 100) | |
| CMYK | cmyk(6%, 5%, 0%, 61%) | — | |
| HSV | hsv(230, 6%, 39%) | — | |
| HWB | hwb(230 37% 61%) | color: hwb(230 37% 61%) | |
| OKLCH | oklch(0.4863 0.008 277.03) | color: oklch(0.4863 0.008 277.03) | |
| Lab | lab(40.38 0.69 -2.98) | color: lab(40.38 0.69 -2.98) | |
| LCH | lch(40.38 3.06 283.04) | color: lch(40.38 3.06 283.04) |
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)
#5E5E63 — rgb(94, 94, 99)
Deuteranopia (Green-blind)
#5E5E63 — rgb(94, 94, 99)
Tritanopia (Blue-blind)
#5E6262 — rgb(94, 98, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 3%, 38%);
text
color: hsl(231, 3%, 38%);
border
border: 2px solid hsl(231, 3%, 38%);
gradient light
background: linear-gradient(to right, hsl(231, 3%, 58%), hsl(231, 3%, 38%));
gradient dark
background: linear-gradient(to right, hsl(231, 3%, 38%), hsl(231, 3%, 18%))
hex
background-color: #5E5F64;
tailwind
bg-[hsl(231,3%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 3%, 38%, 0.4);
css variable
--color-primary: hsl(231, 3%, 38%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(231, 3%, 38%)?
HEX: #5E5F64 | RGB: rgb(94, 95, 100) | CMYK: 6%, 5%, 0%, 61% | HSV: 230°, 6%, 39%. Copy any format from the conversion table above.
What colors go well with #5E5F64?
The complementary color is HSL(51, 3%, 38%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 3%, 38%) in CSS?
As HSL: color: hsl(231, 3%, 38%); — As HEX: color: #5E5F64; — As RGB: color: rgb(94, 95, 100); — Tailwind CSS: bg-[hsl(231,3%,38%)] — CSS variable: --color-primary: hsl(231, 3%, 38%);