HSL(308, 7%, 23%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(308,7%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 7%, 23%) | color: hsl(308, 7%, 23%) | |
| HEX | #3F373E | color: #3F373E | |
| RGB | rgb(63, 55, 62) | color: rgb(63, 55, 62) | |
| CMYK | cmyk(0%, 13%, 2%, 75%) | — | |
| HSV | hsv(308, 13%, 25%) | — | |
| HWB | hwb(308 22% 75%) | color: hwb(308 22% 75%) | |
| OKLCH | oklch(0.3478 0.0162 329.95) | color: oklch(0.3478 0.0162 329.95) | |
| Lab | lab(24.12 5.03 -3.06) | color: lab(24.12 5.03 -3.06) | |
| LCH | lch(24.12 5.89 328.69) | color: lch(24.12 5.89 328.69) |
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)
#3C3B3C — rgb(60, 59, 60)
Deuteranopia (Green-blind)
#3C3D3C — rgb(60, 61, 60)
Tritanopia (Blue-blind)
#3F3B3B — rgb(63, 59, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 7%, 23%);
text
color: hsl(308, 7%, 23%);
border
border: 2px solid hsl(308, 7%, 23%);
gradient light
background: linear-gradient(to right, hsl(308, 7%, 43%), hsl(308, 7%, 23%));
gradient dark
background: linear-gradient(to right, hsl(308, 7%, 23%), hsl(308, 7%, 3%))
hex
background-color: #3F373E;
tailwind
bg-[hsl(308,7%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 7%, 23%, 0.4);
css variable
--color-primary: hsl(308, 7%, 23%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(308, 7%, 23%)?
HEX: #3F373E | RGB: rgb(63, 55, 62) | CMYK: 0%, 13%, 2%, 75% | HSV: 308°, 13%, 25%. Copy any format from the conversion table above.
What colors go well with #3F373E?
The complementary color is HSL(128, 7%, 23%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 7%, 23%) in CSS?
As HSL: color: hsl(308, 7%, 23%); — As HEX: color: #3F373E; — As RGB: color: rgb(63, 55, 62); — Tailwind CSS: bg-[hsl(308,7%,23%)] — CSS variable: --color-primary: hsl(308, 7%, 23%);