HSL(245, 8%, 47%)

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(245,8%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(245, 8%, 47%) color: hsl(245, 8%, 47%)
HEX #706E81 color: #706E81
RGB rgb(112, 110, 129) color: rgb(112, 110, 129)
CMYK cmyk(13%, 15%, 0%, 49%)
HSV hsv(246, 15%, 51%)
HWB hwb(246 43% 49%) color: hwb(246 43% 49%)
OKLCH oklch(0.5467 0.0294 290.22) color: oklch(0.5467 0.0294 290.22)
Lab lab(47.21 4.87 -10.18) color: lab(47.21 4.87 -10.18)
LCH lch(47.21 11.28 295.57) color: lch(47.21 11.28 295.57)

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 4.96:1
vs Black 4.24:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6F6F7C — rgb(111, 111, 124)

Deuteranopia (Green-blind)

#6F6F7B — rgb(111, 111, 123)

Tritanopia (Blue-blind)

#707978 — rgb(112, 121, 120)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(245, 8%, 47%);

text

color: hsl(245, 8%, 47%);

border

border: 2px solid hsl(245, 8%, 47%);

gradient light

background: linear-gradient(to right, hsl(245, 8%, 67%), hsl(245, 8%, 47%));

gradient dark

background: linear-gradient(to right, hsl(245, 8%, 47%), hsl(245, 8%, 27%))

hex

background-color: #706E81;

tailwind

bg-[hsl(245,8%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(245, 8%, 47%, 0.4);

css variable

--color-primary: hsl(245, 8%, 47%);

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(245, 8%, 47%)?

HEX: #706E81 | RGB: rgb(112, 110, 129) | CMYK: 13%, 15%, 0%, 49% | HSV: 246°, 15%, 51%. Copy any format from the conversion table above.

What colors go well with #706E81?

The complementary color is HSL(65, 8%, 47%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(245, 8%, 47%) in CSS?

As HSL: color: hsl(245, 8%, 47%); — As HEX: color: #706E81; — As RGB: color: rgb(112, 110, 129); — Tailwind CSS: bg-[hsl(245,8%,47%)] — CSS variable: --color-primary: hsl(245, 8%, 47%);