HSL(262, 5%, 23%)
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(262,5%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 5%, 23%) | color: hsl(262, 5%, 23%) | |
| HEX | #3A383E | color: #3A383E | |
| RGB | rgb(58, 56, 62) | color: rgb(58, 56, 62) | |
| CMYK | cmyk(6%, 10%, 0%, 76%) | — | |
| HSV | hsv(260, 10%, 24%) | — | |
| HWB | hwb(260 22% 76%) | color: hwb(260 22% 76%) | |
| OKLCH | oklch(0.345 0.0106 301) | color: oklch(0.345 0.0106 301) | |
| Lab | lab(23.92 2.26 -3.41) | color: lab(23.92 2.26 -3.41) | |
| LCH | lch(23.92 4.09 303.53) | color: lch(23.92 4.09 303.53) |
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)
#39393D — rgb(57, 57, 61)
Deuteranopia (Green-blind)
#39393C — rgb(57, 57, 60)
Tritanopia (Blue-blind)
#3A3B3B — rgb(58, 59, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 5%, 23%);
text
color: hsl(262, 5%, 23%);
border
border: 2px solid hsl(262, 5%, 23%);
gradient light
background: linear-gradient(to right, hsl(262, 5%, 43%), hsl(262, 5%, 23%));
gradient dark
background: linear-gradient(to right, hsl(262, 5%, 23%), hsl(262, 5%, 3%))
hex
background-color: #3A383E;
tailwind
bg-[hsl(262,5%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 5%, 23%, 0.4);
css variable
--color-primary: hsl(262, 5%, 23%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(262, 5%, 23%)?
HEX: #3A383E | RGB: rgb(58, 56, 62) | CMYK: 6%, 10%, 0%, 76% | HSV: 260°, 10%, 24%. Copy any format from the conversion table above.
What colors go well with #3A383E?
The complementary color is HSL(82, 5%, 23%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 5%, 23%) in CSS?
As HSL: color: hsl(262, 5%, 23%); — As HEX: color: #3A383E; — As RGB: color: rgb(58, 56, 62); — Tailwind CSS: bg-[hsl(262,5%,23%)] — CSS variable: --color-primary: hsl(262, 5%, 23%);