HSL(232, 12%, 58%)

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(232,12%,58%)]

Color Conversions

Format Value CSS Usage
HSL hsl(232, 12%, 58%) color: hsl(232, 12%, 58%)
HEX #878AA1 color: #878AA1
RGB rgb(135, 138, 161) color: rgb(135, 138, 161)
CMYK cmyk(16%, 14%, 0%, 37%)
HSV hsv(233, 16%, 63%)
HWB hwb(233 53% 37%) color: hwb(233 53% 37%)
OKLCH oklch(0.6388 0.0345 279.5) color: oklch(0.6388 0.0345 279.5)
Lab lab(57.94 3.81 -12.54) color: lab(57.94 3.81 -12.54)
LCH lch(57.94 13.11 286.9) color: lch(57.94 13.11 286.9)

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 3.4:1
vs Black 6.18: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)

#88889B — rgb(136, 136, 155)

Deuteranopia (Green-blind)

#88889A — rgb(136, 136, 154)

Tritanopia (Blue-blind)

#879796 — rgb(135, 151, 150)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(232, 12%, 58%);

text

color: hsl(232, 12%, 58%);

border

border: 2px solid hsl(232, 12%, 58%);

gradient light

background: linear-gradient(to right, hsl(232, 12%, 78%), hsl(232, 12%, 58%));

gradient dark

background: linear-gradient(to right, hsl(232, 12%, 58%), hsl(232, 12%, 38%))

hex

background-color: #878AA1;

tailwind

bg-[hsl(232,12%,58%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(232, 12%, 58%, 0.4);

css variable

--color-primary: hsl(232, 12%, 58%);

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(232, 12%, 58%)?

HEX: #878AA1 | RGB: rgb(135, 138, 161) | CMYK: 16%, 14%, 0%, 37% | HSV: 233°, 16%, 63%. Copy any format from the conversion table above.

What colors go well with #878AA1?

The complementary color is HSL(52, 12%, 58%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(232, 12%, 58%) in CSS?

As HSL: color: hsl(232, 12%, 58%); — As HEX: color: #878AA1; — As RGB: color: rgb(135, 138, 161); — Tailwind CSS: bg-[hsl(232,12%,58%)] — CSS variable: --color-primary: hsl(232, 12%, 58%);