HSL(267, 2%, 40%)

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(267,2%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 2%, 40%) color: hsl(267, 2%, 40%)
HEX #666468 color: #666468
RGB rgb(102, 100, 104) color: rgb(102, 100, 104)
CMYK cmyk(2%, 4%, 0%, 59%)
HSV hsv(270, 4%, 41%)
HWB hwb(270 39% 59%) color: hwb(270 39% 59%)
OKLCH oklch(0.5064 0.0067 308.31) color: oklch(0.5064 0.0067 308.31)
Lab lab(42.67 1.62 -1.98) color: lab(42.67 1.62 -1.98)
LCH lch(42.67 2.56 309.29) color: lch(42.67 2.56 309.29)

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 5.85:1
vs Black 3.59:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#656567 — rgb(101, 101, 103)

Deuteranopia (Green-blind)

#656567 — rgb(101, 101, 103)

Tritanopia (Blue-blind)

#666666 — rgb(102, 102, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 2%, 40%);

text

color: hsl(267, 2%, 40%);

border

border: 2px solid hsl(267, 2%, 40%);

gradient light

background: linear-gradient(to right, hsl(267, 2%, 60%), hsl(267, 2%, 40%));

gradient dark

background: linear-gradient(to right, hsl(267, 2%, 40%), hsl(267, 2%, 20%))

hex

background-color: #666468;

tailwind

bg-[hsl(267,2%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(267, 2%, 40%, 0.4);

css variable

--color-primary: hsl(267, 2%, 40%);

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(267, 2%, 40%)?

HEX: #666468 | RGB: rgb(102, 100, 104) | CMYK: 2%, 4%, 0%, 59% | HSV: 270°, 4%, 41%. Copy any format from the conversion table above.

What colors go well with #666468?

The complementary color is HSL(87, 2%, 40%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 2%, 40%) in CSS?

As HSL: color: hsl(267, 2%, 40%); — As HEX: color: #666468; — As RGB: color: rgb(102, 100, 104); — Tailwind CSS: bg-[hsl(267,2%,40%)] — CSS variable: --color-primary: hsl(267, 2%, 40%);