HSL(240, 10%, 53%)

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(240,10%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(240, 10%, 53%) color: hsl(240, 10%, 53%)
HEX #7B7B93 color: #7B7B93
RGB rgb(123, 123, 147) color: rgb(123, 123, 147)
CMYK cmyk(16%, 16%, 0%, 42%)
HSV hsv(240, 16%, 58%)
HWB hwb(240 49% 42%) color: hwb(240 49% 42%)
OKLCH oklch(0.5914 0.0364 285.23) color: oklch(0.5914 0.0364 285.23)
Lab lab(52.38 5.2 -12.92) color: lab(52.38 5.2 -12.92)
LCH lch(52.38 13.93 291.92) color: lch(52.38 13.93 291.92)

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.12:1
vs Black 5.1:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7B7B8D — rgb(123, 123, 141)

Deuteranopia (Green-blind)

#7B7B8C — rgb(123, 123, 140)

Tritanopia (Blue-blind)

#7B8988 — rgb(123, 137, 136)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(240, 10%, 53%);

text

color: hsl(240, 10%, 53%);

border

border: 2px solid hsl(240, 10%, 53%);

gradient light

background: linear-gradient(to right, hsl(240, 10%, 73%), hsl(240, 10%, 53%));

gradient dark

background: linear-gradient(to right, hsl(240, 10%, 53%), hsl(240, 10%, 33%))

hex

background-color: #7B7B93;

tailwind

bg-[hsl(240,10%,53%)]

box shadow

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

css variable

--color-primary: hsl(240, 10%, 53%);

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(240, 10%, 53%)?

HEX: #7B7B93 | RGB: rgb(123, 123, 147) | CMYK: 16%, 16%, 0%, 42% | HSV: 240°, 16%, 58%. Copy any format from the conversion table above.

What colors go well with #7B7B93?

The complementary color is HSL(60, 10%, 53%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(240, 10%, 53%) in CSS?

As HSL: color: hsl(240, 10%, 53%); — As HEX: color: #7B7B93; — As RGB: color: rgb(123, 123, 147); — Tailwind CSS: bg-[hsl(240,10%,53%)] — CSS variable: --color-primary: hsl(240, 10%, 53%);