HSL(222, 97%, 85%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(222,97%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 97%, 85%) color: hsl(222, 97%, 85%)
HEX #B4CAFE color: #B4CAFE
RGB rgb(180, 202, 254) color: rgb(180, 202, 254)
CMYK cmyk(29%, 20%, 0%, 0%)
HSV hsv(222, 29%, 100%)
HWB hwb(222 71% 0%) color: hwb(222 71% 0%)
OKLCH oklch(0.8405 0.077 266.86) color: oklch(0.8405 0.077 266.86)
Lab lab(81.35 4.08 -27.92) color: lab(81.35 4.08 -27.92)
LCH lch(81.35 28.22 278.31) color: lch(81.35 28.22 278.31)

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.64:1
vs Black 12.82: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)

#BEBEF1 — rgb(190, 190, 241)

Deuteranopia (Green-blind)

#BCBBEE — rgb(188, 187, 238)

Tritanopia (Blue-blind)

#B5E7E5 — rgb(181, 231, 229)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 97%, 85%);

text

color: hsl(222, 97%, 85%);

border

border: 2px solid hsl(222, 97%, 85%);

gradient light

background: linear-gradient(to right, hsl(222, 97%, 100%), hsl(222, 97%, 85%));

gradient dark

background: linear-gradient(to right, hsl(222, 97%, 85%), hsl(222, 97%, 65%))

hex

background-color: #B4CAFE;

tailwind

bg-[hsl(222,97%,85%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(222, 97%, 85%, 0.4);

css variable

--color-primary: hsl(222, 97%, 85%);

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(222, 97%, 85%)?

HEX: #B4CAFE | RGB: rgb(180, 202, 254) | CMYK: 29%, 20%, 0%, 0% | HSV: 222°, 29%, 100%. Copy any format from the conversion table above.

What colors go well with #B4CAFE?

The complementary color is HSL(42, 97%, 85%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(222, 97%, 85%) in CSS?

As HSL: color: hsl(222, 97%, 85%); — As HEX: color: #B4CAFE; — As RGB: color: rgb(180, 202, 254); — Tailwind CSS: bg-[hsl(222,97%,85%)] — CSS variable: --color-primary: hsl(222, 97%, 85%);