HSL(238, 23%, 63%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(238,23%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(238, 23%, 63%) color: hsl(238, 23%, 63%)
HEX #8B8CB6 color: #8B8CB6
RGB rgb(139, 140, 182) color: rgb(139, 140, 182)
CMYK cmyk(24%, 23%, 0%, 29%)
HSV hsv(239, 24%, 71%)
HWB hwb(239 54% 29%) color: hwb(239 54% 29%)
OKLCH oklch(0.6546 0.0623 283.47) color: oklch(0.6546 0.0623 283.47)
Lab lab(59.55 8.9 -22.05) color: lab(59.55 8.9 -22.05)
LCH lch(59.55 23.78 291.98) color: lch(59.55 23.78 291.98)

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.22:1
vs Black 6.52: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)

#8B8BAC — rgb(139, 139, 172)

Deuteranopia (Green-blind)

#8B8BA9 — rgb(139, 139, 169)

Tritanopia (Blue-blind)

#8BA4A2 — rgb(139, 164, 162)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(238, 23%, 63%);

text

color: hsl(238, 23%, 63%);

border

border: 2px solid hsl(238, 23%, 63%);

gradient light

background: linear-gradient(to right, hsl(238, 23%, 83%), hsl(238, 23%, 63%));

gradient dark

background: linear-gradient(to right, hsl(238, 23%, 63%), hsl(238, 23%, 43%))

hex

background-color: #8B8CB6;

tailwind

bg-[hsl(238,23%,63%)]

box shadow

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

css variable

--color-primary: hsl(238, 23%, 63%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(238, 23%, 63%)?

HEX: #8B8CB6 | RGB: rgb(139, 140, 182) | CMYK: 24%, 23%, 0%, 29% | HSV: 239°, 24%, 71%. Copy any format from the conversion table above.

What colors go well with #8B8CB6?

The complementary color is HSL(58, 23%, 63%). 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, 23%, 63%) in CSS?

As HSL: color: hsl(238, 23%, 63%); — As HEX: color: #8B8CB6; — As RGB: color: rgb(139, 140, 182); — Tailwind CSS: bg-[hsl(238,23%,63%)] — CSS variable: --color-primary: hsl(238, 23%, 63%);