HSL(250, 21%, 81%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(250,21%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(250, 21%, 81%) color: hsl(250, 21%, 81%)
HEX #C8C4D9 color: #C8C4D9
RGB rgb(200, 196, 217) color: rgb(200, 196, 217)
CMYK cmyk(8%, 10%, 0%, 15%)
HSV hsv(251, 10%, 85%)
HWB hwb(251 77% 15%) color: hwb(251 77% 15%)
OKLCH oklch(0.83 0.0293 294.49) color: oklch(0.83 0.0293 294.49)
Lab lab(80.05 5.36 -9.95) color: lab(80.05 5.36 -9.95)
LCH lch(80.05 11.3 298.31) color: lch(80.05 11.3 298.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.7:1
vs Black 12.35: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)

#C6C6D4 — rgb(198, 198, 212)

Deuteranopia (Green-blind)

#C7C7D3 — rgb(199, 199, 211)

Tritanopia (Blue-blind)

#C8D0CF — rgb(200, 208, 207)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(250, 21%, 81%);

text

color: hsl(250, 21%, 81%);

border

border: 2px solid hsl(250, 21%, 81%);

gradient light

background: linear-gradient(to right, hsl(250, 21%, 100%), hsl(250, 21%, 81%));

gradient dark

background: linear-gradient(to right, hsl(250, 21%, 81%), hsl(250, 21%, 61%))

hex

background-color: #C8C4D9;

tailwind

bg-[hsl(250,21%,81%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(250, 21%, 81%, 0.4);

css variable

--color-primary: hsl(250, 21%, 81%);

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(250, 21%, 81%)?

HEX: #C8C4D9 | RGB: rgb(200, 196, 217) | CMYK: 8%, 10%, 0%, 15% | HSV: 251°, 10%, 85%. Copy any format from the conversion table above.

What colors go well with #C8C4D9?

The complementary color is HSL(70, 21%, 81%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(250, 21%, 81%) in CSS?

As HSL: color: hsl(250, 21%, 81%); — As HEX: color: #C8C4D9; — As RGB: color: rgb(200, 196, 217); — Tailwind CSS: bg-[hsl(250,21%,81%)] — CSS variable: --color-primary: hsl(250, 21%, 81%);