HSL(222, 5%, 62%)

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(222,5%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 5%, 62%) color: hsl(222, 5%, 62%)
HEX #999CA3 color: #999CA3
RGB rgb(153, 156, 163) color: rgb(153, 156, 163)
CMYK cmyk(6%, 4%, 0%, 36%)
HSV hsv(222, 6%, 64%)
HWB hwb(222 60% 36%) color: hwb(222 60% 36%)
OKLCH oklch(0.6925 0.0108 267.32) color: oklch(0.6925 0.0108 267.32)
Lab lab(64.32 0.31 -4.02) color: lab(64.32 0.31 -4.02)
LCH lch(64.32 4.03 274.41) color: lch(64.32 4.03 274.41)

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

#9A9AA1 — rgb(154, 154, 161)

Deuteranopia (Green-blind)

#9A9AA1 — rgb(154, 154, 161)

Tritanopia (Blue-blind)

#99A0A0 — rgb(153, 160, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 5%, 62%);

text

color: hsl(222, 5%, 62%);

border

border: 2px solid hsl(222, 5%, 62%);

gradient light

background: linear-gradient(to right, hsl(222, 5%, 82%), hsl(222, 5%, 62%));

gradient dark

background: linear-gradient(to right, hsl(222, 5%, 62%), hsl(222, 5%, 42%))

hex

background-color: #999CA3;

tailwind

bg-[hsl(222,5%,62%)]

box shadow

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

css variable

--color-primary: hsl(222, 5%, 62%);

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(222, 5%, 62%)?

HEX: #999CA3 | RGB: rgb(153, 156, 163) | CMYK: 6%, 4%, 0%, 36% | HSV: 222°, 6%, 64%. Copy any format from the conversion table above.

What colors go well with #999CA3?

The complementary color is HSL(42, 5%, 62%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(222, 5%, 62%) in CSS?

As HSL: color: hsl(222, 5%, 62%); — As HEX: color: #999CA3; — As RGB: color: rgb(153, 156, 163); — Tailwind CSS: bg-[hsl(222,5%,62%)] — CSS variable: --color-primary: hsl(222, 5%, 62%);