HSL(241, 45%, 79%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(241, 45%, 79%) color: hsl(241, 45%, 79%)
HEX #B2B1E2 color: #B2B1E2
RGB rgb(178, 177, 226) color: rgb(178, 177, 226)
CMYK cmyk(21%, 22%, 0%, 11%)
HSV hsv(241, 22%, 89%)
HWB hwb(241 69% 11%) color: hwb(241 69% 11%)
OKLCH oklch(0.7781 0.0694 285.6) color: oklch(0.7781 0.0694 285.6)
Lab lab(73.8 10.55 -24.41) color: lab(73.8 10.55 -24.41)
LCH lch(73.8 26.59 293.37) color: lch(73.8 26.59 293.37)

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.04:1
vs Black 10.28: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)

#B2B2D6 — rgb(178, 178, 214)

Deuteranopia (Green-blind)

#B2B2D3 — rgb(178, 178, 211)

Tritanopia (Blue-blind)

#B2CDCB — rgb(178, 205, 203)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #B2B1E2;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(241, 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(241, 45%, 79%)?

HEX: #B2B1E2 | RGB: rgb(178, 177, 226) | CMYK: 21%, 22%, 0%, 11% | HSV: 241°, 22%, 89%. Copy any format from the conversion table above.

What colors go well with #B2B1E2?

The complementary color is HSL(61, 45%, 79%). For a triadic harmony, use hues 241°, 1°, and 121°. For analogous combinations, try hues 211° and 271°. See the Color Harmony section above for complete palettes with previews.

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

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