HSL(238, 94%, 77%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(238,94%,77%)]

Color Conversions

Format Value CSS Usage
HSL hsl(238, 94%, 77%) color: hsl(238, 94%, 77%)
HEX #8D91FB color: #8D91FB
RGB rgb(141, 145, 251) color: rgb(141, 145, 251)
CMYK cmyk(44%, 42%, 0%, 2%)
HSV hsv(238, 44%, 98%)
HWB hwb(238 55% 2%) color: hwb(238 55% 2%)
OKLCH oklch(0.6998 0.1535 280.01) color: oklch(0.6998 0.1535 280.01)
Lab lab(64.06 24.92 -53.45) color: lab(64.06 24.92 -53.45)
LCH lch(64.06 58.97 295) color: lch(64.06 58.97 295)

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 2.77:1
vs Black 7.58:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8F8FE1 — rgb(143, 143, 225)

Deuteranopia (Green-blind)

#8F8EDB — rgb(143, 142, 219)

Tritanopia (Blue-blind)

#8DCDC9 — rgb(141, 205, 201)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(238, 94%, 77%);

text

color: hsl(238, 94%, 77%);

border

border: 2px solid hsl(238, 94%, 77%);

gradient light

background: linear-gradient(to right, hsl(238, 94%, 97%), hsl(238, 94%, 77%));

gradient dark

background: linear-gradient(to right, hsl(238, 94%, 77%), hsl(238, 94%, 57%))

hex

background-color: #8D91FB;

tailwind

bg-[hsl(238,94%,77%)]

box shadow

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

css variable

--color-primary: hsl(238, 94%, 77%);

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, 94%, 77%)?

HEX: #8D91FB | RGB: rgb(141, 145, 251) | CMYK: 44%, 42%, 0%, 2% | HSV: 238°, 44%, 98%. Copy any format from the conversion table above.

What colors go well with #8D91FB?

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

As HSL: color: hsl(238, 94%, 77%); — As HEX: color: #8D91FB; — As RGB: color: rgb(141, 145, 251); — Tailwind CSS: bg-[hsl(238,94%,77%)] — CSS variable: --color-primary: hsl(238, 94%, 77%);