HSL(251, 45%, 79%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(251,45%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 45%, 79%) color: hsl(251, 45%, 79%)
HEX #BAB1E2 color: #BAB1E2
RGB rgb(186, 177, 226) color: rgb(186, 177, 226)
CMYK cmyk(18%, 22%, 0%, 11%)
HSV hsv(251, 22%, 89%)
HWB hwb(251 69% 11%) color: hwb(251 69% 11%)
OKLCH oklch(0.7845 0.0695 293.15) color: oklch(0.7845 0.0695 293.15)
Lab lab(74.43 13.03 -23.4) color: lab(74.43 13.03 -23.4)
LCH lch(74.43 26.78 299.11) color: lch(74.43 26.78 299.11)

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:1
vs Black 10.47: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)

#B6B6D6 — rgb(182, 182, 214)

Deuteranopia (Green-blind)

#B7B7D3 — rgb(183, 183, 211)

Tritanopia (Blue-blind)

#BACDCB — rgb(186, 205, 203)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 45%, 79%);

text

color: hsl(251, 45%, 79%);

border

border: 2px solid hsl(251, 45%, 79%);

gradient light

background: linear-gradient(to right, hsl(251, 45%, 99%), hsl(251, 45%, 79%));

gradient dark

background: linear-gradient(to right, hsl(251, 45%, 79%), hsl(251, 45%, 59%))

hex

background-color: #BAB1E2;

tailwind

bg-[hsl(251,45%,79%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(251, 45%, 79%, 0.4);

css variable

--color-primary: hsl(251, 45%, 79%);

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(251, 45%, 79%)?

HEX: #BAB1E2 | RGB: rgb(186, 177, 226) | CMYK: 18%, 22%, 0%, 11% | HSV: 251°, 22%, 89%. Copy any format from the conversion table above.

What colors go well with #BAB1E2?

The complementary color is HSL(71, 45%, 79%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(251, 45%, 79%) in CSS?

As HSL: color: hsl(251, 45%, 79%); — As HEX: color: #BAB1E2; — As RGB: color: rgb(186, 177, 226); — Tailwind CSS: bg-[hsl(251,45%,79%)] — CSS variable: --color-primary: hsl(251, 45%, 79%);