HSL(237, 3%, 78%)

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(237,3%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(237, 3%, 78%) color: hsl(237, 3%, 78%)
HEX #C5C5C9 color: #C5C5C9
RGB rgb(197, 197, 201) color: rgb(197, 197, 201)
CMYK cmyk(2%, 2%, 0%, 21%)
HSV hsv(240, 2%, 79%)
HWB hwb(240 77% 21%) color: hwb(240 77% 21%)
OKLCH oklch(0.8246 0.0055 286.28) color: oklch(0.8246 0.0055 286.28)
Lab lab(79.63 0.74 -2) color: lab(79.63 0.74 -2)
LCH lch(79.63 2.13 290.3) color: lch(79.63 2.13 290.3)

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 1.72:1
vs Black 12.2: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)

#C5C5C8 — rgb(197, 197, 200)

Deuteranopia (Green-blind)

#C5C5C8 — rgb(197, 197, 200)

Tritanopia (Blue-blind)

#C5C7C7 — rgb(197, 199, 199)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(237, 3%, 78%);

text

color: hsl(237, 3%, 78%);

border

border: 2px solid hsl(237, 3%, 78%);

gradient light

background: linear-gradient(to right, hsl(237, 3%, 98%), hsl(237, 3%, 78%));

gradient dark

background: linear-gradient(to right, hsl(237, 3%, 78%), hsl(237, 3%, 58%))

hex

background-color: #C5C5C9;

tailwind

bg-[hsl(237,3%,78%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(237, 3%, 78%, 0.4);

css variable

--color-primary: hsl(237, 3%, 78%);

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(237, 3%, 78%)?

HEX: #C5C5C9 | RGB: rgb(197, 197, 201) | CMYK: 2%, 2%, 0%, 21% | HSV: 240°, 2%, 79%. Copy any format from the conversion table above.

What colors go well with #C5C5C9?

The complementary color is HSL(57, 3%, 78%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(237, 3%, 78%) in CSS?

As HSL: color: hsl(237, 3%, 78%); — As HEX: color: #C5C5C9; — As RGB: color: rgb(197, 197, 201); — Tailwind CSS: bg-[hsl(237,3%,78%)] — CSS variable: --color-primary: hsl(237, 3%, 78%);