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

Color Conversions

Format Value CSS Usage
HSL hsl(228, 7%, 63%) color: hsl(228, 7%, 63%)
HEX #9A9DA7 color: #9A9DA7
RGB rgb(154, 157, 167) color: rgb(154, 157, 167)
CMYK cmyk(8%, 6%, 0%, 35%)
HSV hsv(226, 8%, 65%)
HWB hwb(226 60% 35%) color: hwb(226 60% 35%)
OKLCH oklch(0.6967 0.0149 272.61) color: oklch(0.6967 0.0149 272.61)
Lab lab(64.78 0.92 -5.57) color: lab(64.78 0.92 -5.57)
LCH lch(64.78 5.65 279.38) color: lch(64.78 5.65 279.38)

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

#9B9BA5 — rgb(155, 155, 165)

Deuteranopia (Green-blind)

#9B9BA4 — rgb(155, 155, 164)

Tritanopia (Blue-blind)

#9AA3A2 — rgb(154, 163, 162)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #9A9DA7;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(228, 7%, 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, 7%, 63%)?

HEX: #9A9DA7 | RGB: rgb(154, 157, 167) | CMYK: 8%, 6%, 0%, 35% | HSV: 226°, 8%, 65%. Copy any format from the conversion table above.

What colors go well with #9A9DA7?

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

As HSL: color: hsl(228, 7%, 63%); — As HEX: color: #9A9DA7; — As RGB: color: rgb(154, 157, 167); — Tailwind CSS: bg-[hsl(228,7%,63%)] — CSS variable: --color-primary: hsl(228, 7%, 63%);