HSL(235, 40%, 79%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(235,40%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(235, 40%, 79%) color: hsl(235, 40%, 79%)
HEX #B4B8DF color: #B4B8DF
RGB rgb(180, 184, 223) color: rgb(180, 184, 223)
CMYK cmyk(19%, 17%, 0%, 13%)
HSV hsv(234, 19%, 87%)
HWB hwb(234 70% 13%) color: hwb(234 70% 13%)
OKLCH oklch(0.7925 0.0553 280.45) color: oklch(0.7925 0.0553 280.45)
Lab lab(75.64 6.66 -19.96) color: lab(75.64 6.66 -19.96)
LCH lch(75.64 21.04 288.45) color: lch(75.64 21.04 288.45)

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

#B6B5D3 — rgb(182, 181, 211)

Tritanopia (Blue-blind)

#B4CECC — rgb(180, 206, 204)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(235, 40%, 79%);

text

color: hsl(235, 40%, 79%);

border

border: 2px solid hsl(235, 40%, 79%);

gradient light

background: linear-gradient(to right, hsl(235, 40%, 99%), hsl(235, 40%, 79%));

gradient dark

background: linear-gradient(to right, hsl(235, 40%, 79%), hsl(235, 40%, 59%))

hex

background-color: #B4B8DF;

tailwind

bg-[hsl(235,40%,79%)]

box shadow

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

css variable

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

HEX: #B4B8DF | RGB: rgb(180, 184, 223) | CMYK: 19%, 17%, 0%, 13% | HSV: 234°, 19%, 87%. Copy any format from the conversion table above.

What colors go well with #B4B8DF?

The complementary color is HSL(55, 40%, 79%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(235, 40%, 79%) in CSS?

As HSL: color: hsl(235, 40%, 79%); — As HEX: color: #B4B8DF; — As RGB: color: rgb(180, 184, 223); — Tailwind CSS: bg-[hsl(235,40%,79%)] — CSS variable: --color-primary: hsl(235, 40%, 79%);