HSL(278, 9%, 59%)

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(278,9%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 9%, 59%) color: hsl(278, 9%, 59%)
HEX #998DA0 color: #998DA0
RGB rgb(153, 141, 160) color: rgb(153, 141, 160)
CMYK cmyk(4%, 12%, 0%, 37%)
HSV hsv(278, 12%, 63%)
HWB hwb(278 55% 37%) color: hwb(278 55% 37%)
OKLCH oklch(0.6601 0.0309 313.25) color: oklch(0.6601 0.0309 313.25)
Lab lab(60.21 8.13 -8.41) color: lab(60.21 8.13 -8.41)
LCH lch(60.21 11.7 314.03) color: lch(60.21 11.7 314.03)

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 3.15:1
vs Black 6.67:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#94949B — rgb(148, 148, 155)

Deuteranopia (Green-blind)

#95959A — rgb(149, 149, 154)

Tritanopia (Blue-blind)

#989897 — rgb(152, 152, 151)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 9%, 59%);

text

color: hsl(278, 9%, 59%);

border

border: 2px solid hsl(278, 9%, 59%);

gradient light

background: linear-gradient(to right, hsl(278, 9%, 79%), hsl(278, 9%, 59%));

gradient dark

background: linear-gradient(to right, hsl(278, 9%, 59%), hsl(278, 9%, 39%))

hex

background-color: #998DA0;

tailwind

bg-[hsl(278,9%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 9%, 59%, 0.4);

css variable

--color-primary: hsl(278, 9%, 59%);

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(278, 9%, 59%)?

HEX: #998DA0 | RGB: rgb(153, 141, 160) | CMYK: 4%, 12%, 0%, 37% | HSV: 278°, 12%, 63%. Copy any format from the conversion table above.

What colors go well with #998DA0?

The complementary color is HSL(98, 9%, 59%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 9%, 59%) in CSS?

As HSL: color: hsl(278, 9%, 59%); — As HEX: color: #998DA0; — As RGB: color: rgb(153, 141, 160); — Tailwind CSS: bg-[hsl(278,9%,59%)] — CSS variable: --color-primary: hsl(278, 9%, 59%);