HSL(283, 21%, 70%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(283,21%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 21%, 70%) color: hsl(283, 21%, 70%)
HEX #B9A2C3 color: #B9A2C3
RGB rgb(185, 162, 195) color: rgb(185, 162, 195)
CMYK cmyk(5%, 17%, 0%, 24%)
HSV hsv(282, 17%, 76%)
HWB hwb(282 63% 24%) color: hwb(282 63% 24%)
OKLCH oklch(0.7429 0.0532 315.65) color: oklch(0.7429 0.0532 315.65)
Lab lab(69.54 14.48 -13.81) color: lab(69.54 14.48 -13.81)
LCH lch(69.54 20.01 316.36) color: lch(69.54 20.01 316.36)

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 2.33:1
vs Black 9.02: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)

#AFAFBB — rgb(175, 175, 187)

Deuteranopia (Green-blind)

#B0B2B9 — rgb(176, 178, 185)

Tritanopia (Blue-blind)

#B8B5B3 — rgb(184, 181, 179)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 21%, 70%);

text

color: hsl(283, 21%, 70%);

border

border: 2px solid hsl(283, 21%, 70%);

gradient light

background: linear-gradient(to right, hsl(283, 21%, 90%), hsl(283, 21%, 70%));

gradient dark

background: linear-gradient(to right, hsl(283, 21%, 70%), hsl(283, 21%, 50%))

hex

background-color: #B9A2C3;

tailwind

bg-[hsl(283,21%,70%)]

box shadow

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

css variable

--color-primary: hsl(283, 21%, 70%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(283, 21%, 70%)?

HEX: #B9A2C3 | RGB: rgb(185, 162, 195) | CMYK: 5%, 17%, 0%, 24% | HSV: 282°, 17%, 76%. Copy any format from the conversion table above.

What colors go well with #B9A2C3?

The complementary color is HSL(103, 21%, 70%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(283, 21%, 70%) in CSS?

As HSL: color: hsl(283, 21%, 70%); — As HEX: color: #B9A2C3; — As RGB: color: rgb(185, 162, 195); — Tailwind CSS: bg-[hsl(283,21%,70%)] — CSS variable: --color-primary: hsl(283, 21%, 70%);