HSL(231, 21%, 76%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(231,21%,76%)]

Color Conversions

Format Value CSS Usage
HSL hsl(231, 21%, 76%) color: hsl(231, 21%, 76%)
HEX #B5B9CF color: #B5B9CF
RGB rgb(181, 185, 207) color: rgb(181, 185, 207)
CMYK cmyk(13%, 11%, 0%, 19%)
HSV hsv(231, 13%, 81%)
HWB hwb(231 70% 19%) color: hwb(231 70% 19%)
OKLCH oklch(0.7896 0.0314 277.48) color: oklch(0.7896 0.0314 277.48)
Lab lab(75.47 2.99 -11.53) color: lab(75.47 2.99 -11.53)
LCH lch(75.47 11.91 284.54) color: lch(75.47 11.91 284.54)

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.94:1
vs Black 10.81: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)

#B7B7CA — rgb(183, 183, 202)

Deuteranopia (Green-blind)

#B7B6C8 — rgb(183, 182, 200)

Tritanopia (Blue-blind)

#B5C5C5 — rgb(181, 197, 197)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(231, 21%, 76%);

text

color: hsl(231, 21%, 76%);

border

border: 2px solid hsl(231, 21%, 76%);

gradient light

background: linear-gradient(to right, hsl(231, 21%, 96%), hsl(231, 21%, 76%));

gradient dark

background: linear-gradient(to right, hsl(231, 21%, 76%), hsl(231, 21%, 56%))

hex

background-color: #B5B9CF;

tailwind

bg-[hsl(231,21%,76%)]

box shadow

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

css variable

--color-primary: hsl(231, 21%, 76%);

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(231, 21%, 76%)?

HEX: #B5B9CF | RGB: rgb(181, 185, 207) | CMYK: 13%, 11%, 0%, 19% | HSV: 231°, 13%, 81%. Copy any format from the conversion table above.

What colors go well with #B5B9CF?

The complementary color is HSL(51, 21%, 76%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(231, 21%, 76%) in CSS?

As HSL: color: hsl(231, 21%, 76%); — As HEX: color: #B5B9CF; — As RGB: color: rgb(181, 185, 207); — Tailwind CSS: bg-[hsl(231,21%,76%)] — CSS variable: --color-primary: hsl(231, 21%, 76%);