HSL(251, 10%, 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,10%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 10%, 31%) color: hsl(251, 10%, 31%)
HEX #4A4757 color: #4A4757
RGB rgb(74, 71, 87) color: rgb(74, 71, 87)
CMYK cmyk(15%, 18%, 0%, 66%)
HSV hsv(251, 18%, 34%)
HWB hwb(251 28% 66%) color: hwb(251 28% 66%)
OKLCH oklch(0.407 0.0268 293.77) color: oklch(0.407 0.0268 293.77)
Lab lab(31 4.96 -9.03) color: lab(31 4.96 -9.03)
LCH lch(31 10.3 298.78) color: lch(31 10.3 298.78)

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.01:1
vs Black 2.33: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)

#494953 — rgb(73, 73, 83)

Deuteranopia (Green-blind)

#494952 — rgb(73, 73, 82)

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, 10%, 31%);

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #4A4757;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(251, 10%, 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, 10%, 31%)?

HEX: #4A4757 | RGB: rgb(74, 71, 87) | CMYK: 15%, 18%, 0%, 66% | HSV: 251°, 18%, 34%. Copy any format from the conversion table above.

What colors go well with #4A4757?

The complementary color is HSL(71, 10%, 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, 10%, 31%) in CSS?

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