HSL(251, 11%, 31%)

Grayish Blue — Blue color

Adjust Color

Color Information

Color Name

Grayish Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(251,11%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 11%, 31%) color: hsl(251, 11%, 31%)
HEX #4A4658 color: #4A4658
RGB rgb(74, 70, 88) color: rgb(74, 70, 88)
CMYK cmyk(16%, 20%, 0%, 65%)
HSV hsv(253, 20%, 35%)
HWB hwb(253 28% 65%) color: hwb(253 28% 65%)
OKLCH oklch(0.4051 0.0302 295.2) color: oklch(0.4051 0.0302 295.2)
Lab lab(30.74 5.86 -10.06) color: lab(30.74 5.86 -10.06)
LCH lch(30.74 11.64 300.22) color: lch(30.74 11.64 300.22)

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 9.1:1
vs Black 2.31: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)

#484854 — rgb(72, 72, 84)

Deuteranopia (Green-blind)

#494953 — rgb(73, 73, 83)

Tritanopia (Blue-blind)

#4A504F — rgb(74, 80, 79)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 11%, 31%);

text

color: hsl(251, 11%, 31%);

border

border: 2px solid hsl(251, 11%, 31%);

gradient light

background: linear-gradient(to right, hsl(251, 11%, 51%), hsl(251, 11%, 31%));

gradient dark

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

hex

background-color: #4A4658;

tailwind

bg-[hsl(251,11%,31%)]

box shadow

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

css variable

--color-primary: hsl(251, 11%, 31%);

Related Colors

Use Cases for Grayish Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(251, 11%, 31%)?

HEX: #4A4658 | RGB: rgb(74, 70, 88) | CMYK: 16%, 20%, 0%, 65% | HSV: 253°, 20%, 35%. Copy any format from the conversion table above.

What colors go well with #4A4658?

The complementary color is HSL(71, 11%, 31%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(251, 11%, 31%) in CSS?

As HSL: color: hsl(251, 11%, 31%); — As HEX: color: #4A4658; — As RGB: color: rgb(74, 70, 88); — Tailwind CSS: bg-[hsl(251,11%,31%)] — CSS variable: --color-primary: hsl(251, 11%, 31%);