HSL(228, 6%, 66%)

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(228,6%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(228, 6%, 66%) color: hsl(228, 6%, 66%)
HEX #A3A5AE color: #A3A5AE
RGB rgb(163, 165, 174) color: rgb(163, 165, 174)
CMYK cmyk(6%, 5%, 0%, 32%)
HSV hsv(229, 6%, 68%)
HWB hwb(229 64% 32%) color: hwb(229 64% 32%)
OKLCH oklch(0.7231 0.0131 276.02) color: oklch(0.7231 0.0131 276.02)
Lab lab(67.84 1.05 -4.89) color: lab(67.84 1.05 -4.89)
LCH lch(67.84 5 282.12) color: lch(67.84 5 282.12)

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 2.46:1
vs Black 8.55:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A4A4AC — rgb(164, 164, 172)

Deuteranopia (Green-blind)

#A4A4AB — rgb(164, 164, 171)

Tritanopia (Blue-blind)

#A3AAAA — rgb(163, 170, 170)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(228, 6%, 66%);

text

color: hsl(228, 6%, 66%);

border

border: 2px solid hsl(228, 6%, 66%);

gradient light

background: linear-gradient(to right, hsl(228, 6%, 86%), hsl(228, 6%, 66%));

gradient dark

background: linear-gradient(to right, hsl(228, 6%, 66%), hsl(228, 6%, 46%))

hex

background-color: #A3A5AE;

tailwind

bg-[hsl(228,6%,66%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(228, 6%, 66%, 0.4);

css variable

--color-primary: hsl(228, 6%, 66%);

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(228, 6%, 66%)?

HEX: #A3A5AE | RGB: rgb(163, 165, 174) | CMYK: 6%, 5%, 0%, 32% | HSV: 229°, 6%, 68%. Copy any format from the conversion table above.

What colors go well with #A3A5AE?

The complementary color is HSL(48, 6%, 66%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(228, 6%, 66%) in CSS?

As HSL: color: hsl(228, 6%, 66%); — As HEX: color: #A3A5AE; — As RGB: color: rgb(163, 165, 174); — Tailwind CSS: bg-[hsl(228,6%,66%)] — CSS variable: --color-primary: hsl(228, 6%, 66%);