HSL(197, 10%, 51%)

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(197,10%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(197, 10%, 51%) color: hsl(197, 10%, 51%)
HEX #76878F color: #76878F
RGB rgb(118, 135, 143) color: rgb(118, 135, 143)
CMYK cmyk(17%, 6%, 0%, 44%)
HSV hsv(199, 17%, 56%)
HWB hwb(199 46% 44%) color: hwb(199 46% 44%)
OKLCH oklch(0.6124 0.0232 227.77) color: oklch(0.6124 0.0232 227.77)
Lab lab(55.24 -4.35 -6.36) color: lab(55.24 -4.35 -6.36)
LCH lch(55.24 7.71 235.63) color: lch(55.24 7.71 235.63)

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.73:1
vs Black 5.63: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)

#7D7E8D — rgb(125, 126, 141)

Deuteranopia (Green-blind)

#7C7B8D — rgb(124, 123, 141)

Tritanopia (Blue-blind)

#778C8B — rgb(119, 140, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(197, 10%, 51%);

text

color: hsl(197, 10%, 51%);

border

border: 2px solid hsl(197, 10%, 51%);

gradient light

background: linear-gradient(to right, hsl(197, 10%, 71%), hsl(197, 10%, 51%));

gradient dark

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

hex

background-color: #76878F;

tailwind

bg-[hsl(197,10%,51%)]

box shadow

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

css variable

--color-primary: hsl(197, 10%, 51%);

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(197, 10%, 51%)?

HEX: #76878F | RGB: rgb(118, 135, 143) | CMYK: 17%, 6%, 0%, 44% | HSV: 199°, 17%, 56%. Copy any format from the conversion table above.

What colors go well with #76878F?

The complementary color is HSL(17, 10%, 51%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(197, 10%, 51%) in CSS?

As HSL: color: hsl(197, 10%, 51%); — As HEX: color: #76878F; — As RGB: color: rgb(118, 135, 143); — Tailwind CSS: bg-[hsl(197,10%,51%)] — CSS variable: --color-primary: hsl(197, 10%, 51%);