HSL(270, 20%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,20%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 20%, 71%) | color: hsl(270, 20%, 71%) | |
| HEX | #B5A6C4 | color: #B5A6C4 | |
| RGB | rgb(181, 166, 196) | color: rgb(181, 166, 196) | |
| CMYK | cmyk(8%, 15%, 0%, 23%) | — | |
| HSV | hsv(270, 15%, 77%) | — | |
| HWB | hwb(270 65% 23%) | color: hwb(270 65% 23%) | |
| OKLCH | oklch(0.7476 0.0455 307.79) | color: oklch(0.7476 0.0455 307.79) | |
| Lab | lab(70.23 11.11 -13.35) | color: lab(70.23 11.11 -13.35) | |
| LCH | lch(70.23 17.37 309.77) | color: lch(70.23 17.37 309.77) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#AFAEBD — rgb(175, 174, 189)
Deuteranopia (Green-blind)
#AFB1BB — rgb(175, 177, 187)
Tritanopia (Blue-blind)
#B4B7B6 — rgb(180, 183, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 20%, 71%);
text
color: hsl(270, 20%, 71%);
border
border: 2px solid hsl(270, 20%, 71%);
gradient light
background: linear-gradient(to right, hsl(270, 20%, 91%), hsl(270, 20%, 71%));
gradient dark
background: linear-gradient(to right, hsl(270, 20%, 71%), hsl(270, 20%, 51%))
hex
background-color: #B5A6C4;
tailwind
bg-[hsl(270,20%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 20%, 71%, 0.4);
css variable
--color-primary: hsl(270, 20%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 20%, 71%)?
HEX: #B5A6C4 | RGB: rgb(181, 166, 196) | CMYK: 8%, 15%, 0%, 23% | HSV: 270°, 15%, 77%. Copy any format from the conversion table above.
What colors go well with #B5A6C4?
The complementary color is HSL(90, 20%, 71%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 20%, 71%) in CSS?
As HSL: color: hsl(270, 20%, 71%); — As HEX: color: #B5A6C4; — As RGB: color: rgb(181, 166, 196); — Tailwind CSS: bg-[hsl(270,20%,71%)] — CSS variable: --color-primary: hsl(270, 20%, 71%);