HSL(87, 5%, 27%)

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(87,5%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 5%, 27%) color: hsl(87, 5%, 27%)
HEX #454841 color: #454841
RGB rgb(69, 72, 65) color: rgb(69, 72, 65)
CMYK cmyk(4%, 0%, 10%, 72%)
HSV hsv(86, 10%, 28%)
HWB hwb(86 25% 72%) color: hwb(86 25% 72%)
OKLCH oklch(0.3965 0.0122 125.96) color: oklch(0.3965 0.0122 125.96)
Lab lab(30.11 -2.76 3.78) color: lab(30.11 -2.76 3.78)
LCH lch(30.11 4.68 126.14) color: lch(30.11 4.68 126.14)

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 9.31:1
vs Black 2.26: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)

#464643 — rgb(70, 70, 67)

Deuteranopia (Green-blind)

#464643 — rgb(70, 70, 67)

Tritanopia (Blue-blind)

#454444 — rgb(69, 68, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 5%, 27%);

text

color: hsl(87, 5%, 27%);

border

border: 2px solid hsl(87, 5%, 27%);

gradient light

background: linear-gradient(to right, hsl(87, 5%, 47%), hsl(87, 5%, 27%));

gradient dark

background: linear-gradient(to right, hsl(87, 5%, 27%), hsl(87, 5%, 7%))

hex

background-color: #454841;

tailwind

bg-[hsl(87,5%,27%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(87, 5%, 27%, 0.4);

css variable

--color-primary: hsl(87, 5%, 27%);

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(87, 5%, 27%)?

HEX: #454841 | RGB: rgb(69, 72, 65) | CMYK: 4%, 0%, 10%, 72% | HSV: 86°, 10%, 28%. Copy any format from the conversion table above.

What colors go well with #454841?

The complementary color is HSL(267, 5%, 27%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(87, 5%, 27%) in CSS?

As HSL: color: hsl(87, 5%, 27%); — As HEX: color: #454841; — As RGB: color: rgb(69, 72, 65); — Tailwind CSS: bg-[hsl(87,5%,27%)] — CSS variable: --color-primary: hsl(87, 5%, 27%);