HSL(228, 6%, 63%)

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%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(228, 6%, 63%) color: hsl(228, 6%, 63%)
HEX #9B9DA6 color: #9B9DA6
RGB rgb(155, 157, 166) color: rgb(155, 157, 166)
CMYK cmyk(7%, 5%, 0%, 35%)
HSV hsv(229, 7%, 65%)
HWB hwb(229 60% 35%) color: hwb(229 60% 35%)
OKLCH oklch(0.6972 0.0133 276.01) color: oklch(0.6972 0.0133 276.01)
Lab lab(64.83 1.07 -4.93) color: lab(64.83 1.07 -4.93)
LCH lch(64.83 5.04 282.25) color: lch(64.83 5.04 282.25)

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.7:1
vs Black 7.77: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)

#9C9CA4 — rgb(156, 156, 164)

Deuteranopia (Green-blind)

#9C9CA3 — rgb(156, 156, 163)

Tritanopia (Blue-blind)

#9BA2A2 — rgb(155, 162, 162)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(228, 6%, 83%), hsl(228, 6%, 63%));

gradient dark

background: linear-gradient(to right, hsl(228, 6%, 63%), hsl(228, 6%, 43%))

hex

background-color: #9B9DA6;

tailwind

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

box shadow

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

css variable

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

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%, 63%)?

HEX: #9B9DA6 | RGB: rgb(155, 157, 166) | CMYK: 7%, 5%, 0%, 35% | HSV: 229°, 7%, 65%. Copy any format from the conversion table above.

What colors go well with #9B9DA6?

The complementary color is HSL(48, 6%, 63%). 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%, 63%) in CSS?

As HSL: color: hsl(228, 6%, 63%); — As HEX: color: #9B9DA6; — As RGB: color: rgb(155, 157, 166); — Tailwind CSS: bg-[hsl(228,6%,63%)] — CSS variable: --color-primary: hsl(228, 6%, 63%);