HSL(254, 40%, 77%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(254,40%,77%)]

Color Conversions

Format Value CSS Usage
HSL hsl(254, 40%, 77%) color: hsl(254, 40%, 77%)
HEX #B8ADDC color: #B8ADDC
RGB rgb(184, 173, 220) color: rgb(184, 173, 220)
CMYK cmyk(16%, 21%, 0%, 14%)
HSV hsv(254, 21%, 86%)
HWB hwb(254 68% 14%) color: hwb(254 68% 14%)
OKLCH oklch(0.7727 0.0672 295.51) color: oklch(0.7727 0.0672 295.51)
Lab lab(73.05 13.29 -22.24) color: lab(73.05 13.29 -22.24)
LCH lch(73.05 25.91 300.86) color: lch(73.05 25.91 300.86)

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.09:1
vs Black 10.05: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)

#B3B3D1 — rgb(179, 179, 209)

Deuteranopia (Green-blind)

#B4B5CE — rgb(180, 181, 206)

Tritanopia (Blue-blind)

#B7C8C6 — rgb(183, 200, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(254, 40%, 77%);

text

color: hsl(254, 40%, 77%);

border

border: 2px solid hsl(254, 40%, 77%);

gradient light

background: linear-gradient(to right, hsl(254, 40%, 97%), hsl(254, 40%, 77%));

gradient dark

background: linear-gradient(to right, hsl(254, 40%, 77%), hsl(254, 40%, 57%))

hex

background-color: #B8ADDC;

tailwind

bg-[hsl(254,40%,77%)]

box shadow

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

css variable

--color-primary: hsl(254, 40%, 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(254, 40%, 77%)?

HEX: #B8ADDC | RGB: rgb(184, 173, 220) | CMYK: 16%, 21%, 0%, 14% | HSV: 254°, 21%, 86%. Copy any format from the conversion table above.

What colors go well with #B8ADDC?

The complementary color is HSL(74, 40%, 77%). For a triadic harmony, use hues 254°, 14°, and 134°. For analogous combinations, try hues 224° and 284°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(254, 40%, 77%) in CSS?

As HSL: color: hsl(254, 40%, 77%); — As HEX: color: #B8ADDC; — As RGB: color: rgb(184, 173, 220); — Tailwind CSS: bg-[hsl(254,40%,77%)] — CSS variable: --color-primary: hsl(254, 40%, 77%);