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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 11.45:1
vs Black 1.83:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Neutral backgrounds Body text Borders Secondary buttons Disabled states

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%);