HSL(261, 10%, 31%)

Grayish Indigo — Indigo color

Adjust Color

Color Information

Color Name

Grayish Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(261,10%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(261, 10%, 31%) color: hsl(261, 10%, 31%)
HEX #4D4757 color: #4D4757
RGB rgb(77, 71, 87) color: rgb(77, 71, 87)
CMYK cmyk(11%, 18%, 0%, 66%)
HSV hsv(263, 18%, 34%)
HWB hwb(263 28% 66%) color: hwb(263 28% 66%)
OKLCH oklch(0.4099 0.0274 302.28) color: oklch(0.4099 0.0274 302.28)
Lab lab(31.28 6.11 -8.57) color: lab(31.28 6.11 -8.57)
LCH lch(31.28 10.53 305.49) color: lch(31.28 10.53 305.49)

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 8.92:1
vs Black 2.35:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4A4A53 — rgb(74, 74, 83)

Deuteranopia (Green-blind)

#4B4B52 — rgb(75, 75, 82)

Tritanopia (Blue-blind)

#4D504F — rgb(77, 80, 79)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(261, 10%, 31%);

text

color: hsl(261, 10%, 31%);

border

border: 2px solid hsl(261, 10%, 31%);

gradient light

background: linear-gradient(to right, hsl(261, 10%, 51%), hsl(261, 10%, 31%));

gradient dark

background: linear-gradient(to right, hsl(261, 10%, 31%), hsl(261, 10%, 11%))

hex

background-color: #4D4757;

tailwind

bg-[hsl(261,10%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(261, 10%, 31%, 0.4);

css variable

--color-primary: hsl(261, 10%, 31%);

Related Colors

Use Cases for Grayish Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(261, 10%, 31%)?

HEX: #4D4757 | RGB: rgb(77, 71, 87) | CMYK: 11%, 18%, 0%, 66% | HSV: 263°, 18%, 34%. Copy any format from the conversion table above.

What colors go well with #4D4757?

The complementary color is HSL(81, 10%, 31%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(261, 10%, 31%) in CSS?

As HSL: color: hsl(261, 10%, 31%); — As HEX: color: #4D4757; — As RGB: color: rgb(77, 71, 87); — Tailwind CSS: bg-[hsl(261,10%,31%)] — CSS variable: --color-primary: hsl(261, 10%, 31%);