HSL(228, 50%, 82%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(228,50%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(228, 50%, 82%) color: hsl(228, 50%, 82%)
HEX #BAC3E8 color: #BAC3E8
RGB rgb(186, 195, 232) color: rgb(186, 195, 232)
CMYK cmyk(20%, 16%, 0%, 9%)
HSV hsv(228, 20%, 91%)
HWB hwb(228 73% 9%) color: hwb(228 73% 9%)
OKLCH oklch(0.8224 0.053 274.43) color: oklch(0.8224 0.053 274.43)
Lab lab(79.21 4.56 -19.37) color: lab(79.21 4.56 -19.37)
LCH lch(79.21 19.9 283.25) color: lch(79.21 19.9 283.25)

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.74:1
vs Black 12.06: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)

#BEBEDF — rgb(190, 190, 223)

Deuteranopia (Green-blind)

#BDBDDD — rgb(189, 189, 221)

Tritanopia (Blue-blind)

#BAD8D6 — rgb(186, 216, 214)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(228, 50%, 82%);

text

color: hsl(228, 50%, 82%);

border

border: 2px solid hsl(228, 50%, 82%);

gradient light

background: linear-gradient(to right, hsl(228, 50%, 100%), hsl(228, 50%, 82%));

gradient dark

background: linear-gradient(to right, hsl(228, 50%, 82%), hsl(228, 50%, 62%))

hex

background-color: #BAC3E8;

tailwind

bg-[hsl(228,50%,82%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(228, 50%, 82%, 0.4);

css variable

--color-primary: hsl(228, 50%, 82%);

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(228, 50%, 82%)?

HEX: #BAC3E8 | RGB: rgb(186, 195, 232) | CMYK: 20%, 16%, 0%, 9% | HSV: 228°, 20%, 91%. Copy any format from the conversion table above.

What colors go well with #BAC3E8?

The complementary color is HSL(48, 50%, 82%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(228, 50%, 82%) in CSS?

As HSL: color: hsl(228, 50%, 82%); — As HEX: color: #BAC3E8; — As RGB: color: rgb(186, 195, 232); — Tailwind CSS: bg-[hsl(228,50%,82%)] — CSS variable: --color-primary: hsl(228, 50%, 82%);