HSL(238, 10%, 60%)

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(238,10%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(238, 10%, 60%) color: hsl(238, 10%, 60%)
HEX #8F8FA3 color: #8F8FA3
RGB rgb(143, 143, 163) color: rgb(143, 143, 163)
CMYK cmyk(12%, 12%, 0%, 36%)
HSV hsv(240, 12%, 64%)
HWB hwb(240 56% 36%) color: hwb(240 56% 36%)
OKLCH oklch(0.6567 0.0295 285.56) color: oklch(0.6567 0.0295 285.56)
Lab lab(60 4.13 -10.52) color: lab(60 4.13 -10.52)
LCH lch(60 11.3 291.43) color: lch(60 11.3 291.43)

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.17:1
vs Black 6.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)

#8F8F9E — rgb(143, 143, 158)

Deuteranopia (Green-blind)

#8F8F9D — rgb(143, 143, 157)

Tritanopia (Blue-blind)

#8F9A9A — rgb(143, 154, 154)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(238, 10%, 60%);

text

color: hsl(238, 10%, 60%);

border

border: 2px solid hsl(238, 10%, 60%);

gradient light

background: linear-gradient(to right, hsl(238, 10%, 80%), hsl(238, 10%, 60%));

gradient dark

background: linear-gradient(to right, hsl(238, 10%, 60%), hsl(238, 10%, 40%))

hex

background-color: #8F8FA3;

tailwind

bg-[hsl(238,10%,60%)]

box shadow

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

css variable

--color-primary: hsl(238, 10%, 60%);

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(238, 10%, 60%)?

HEX: #8F8FA3 | RGB: rgb(143, 143, 163) | CMYK: 12%, 12%, 0%, 36% | HSV: 240°, 12%, 64%. Copy any format from the conversion table above.

What colors go well with #8F8FA3?

The complementary color is HSL(58, 10%, 60%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(238, 10%, 60%) in CSS?

As HSL: color: hsl(238, 10%, 60%); — As HEX: color: #8F8FA3; — As RGB: color: rgb(143, 143, 163); — Tailwind CSS: bg-[hsl(238,10%,60%)] — CSS variable: --color-primary: hsl(238, 10%, 60%);