HSL(233, 9%, 24%)
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(233,9%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 9%, 24%) | color: hsl(233, 9%, 24%) | |
| HEX | #383943 | color: #383943 | |
| RGB | rgb(56, 57, 67) | color: rgb(56, 57, 67) | |
| CMYK | cmyk(16%, 15%, 0%, 74%) | — | |
| HSV | hsv(235, 16%, 26%) | — | |
| HWB | hwb(235 22% 74%) | color: hwb(235 22% 74%) | |
| OKLCH | oklch(0.3476 0.0174 280.93) | color: oklch(0.3476 0.0174 280.93) | |
| Lab | lab(24.23 2.04 -6.31) | color: lab(24.23 2.04 -6.31) | |
| LCH | lch(24.23 6.63 287.92) | color: lch(24.23 6.63 287.92) |
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)
#383841 — rgb(56, 56, 65)
Deuteranopia (Green-blind)
#383840 — rgb(56, 56, 64)
Tritanopia (Blue-blind)
#383F3E — rgb(56, 63, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 9%, 24%);
text
color: hsl(233, 9%, 24%);
border
border: 2px solid hsl(233, 9%, 24%);
gradient light
background: linear-gradient(to right, hsl(233, 9%, 44%), hsl(233, 9%, 24%));
gradient dark
background: linear-gradient(to right, hsl(233, 9%, 24%), hsl(233, 9%, 4%))
hex
background-color: #383943;
tailwind
bg-[hsl(233,9%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 9%, 24%, 0.4);
css variable
--color-primary: hsl(233, 9%, 24%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(233, 9%, 24%)?
HEX: #383943 | RGB: rgb(56, 57, 67) | CMYK: 16%, 15%, 0%, 74% | HSV: 235°, 16%, 26%. Copy any format from the conversion table above.
What colors go well with #383943?
The complementary color is HSL(53, 9%, 24%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 9%, 24%) in CSS?
As HSL: color: hsl(233, 9%, 24%); — As HEX: color: #383943; — As RGB: color: rgb(56, 57, 67); — Tailwind CSS: bg-[hsl(233,9%,24%)] — CSS variable: --color-primary: hsl(233, 9%, 24%);