HSL(268, 20%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,20%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 20%, 70%) | color: hsl(268, 20%, 70%) | |
| HEX | #B1A3C2 | color: #B1A3C2 | |
| RGB | rgb(177, 163, 194) | color: rgb(177, 163, 194) | |
| CMYK | cmyk(9%, 16%, 0%, 24%) | — | |
| HSV | hsv(267, 16%, 76%) | — | |
| HWB | hwb(267 64% 24%) | color: hwb(267 64% 24%) | |
| OKLCH | oklch(0.7375 0.0466 305.69) | color: oklch(0.7375 0.0466 305.69) | |
| Lab | lab(69.07 11.02 -14.03) | color: lab(69.07 11.02 -14.03) | |
| LCH | lch(69.07 17.84 308.15) | color: lch(69.07 17.84 308.15) |
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)
#ABABBA — rgb(171, 171, 186)
Deuteranopia (Green-blind)
#ACADB9 — rgb(172, 173, 185)
Tritanopia (Blue-blind)
#B0B5B3 — rgb(176, 181, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 20%, 70%);
text
color: hsl(268, 20%, 70%);
border
border: 2px solid hsl(268, 20%, 70%);
gradient light
background: linear-gradient(to right, hsl(268, 20%, 90%), hsl(268, 20%, 70%));
gradient dark
background: linear-gradient(to right, hsl(268, 20%, 70%), hsl(268, 20%, 50%))
hex
background-color: #B1A3C2;
tailwind
bg-[hsl(268,20%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 20%, 70%, 0.4);
css variable
--color-primary: hsl(268, 20%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 20%, 70%)?
HEX: #B1A3C2 | RGB: rgb(177, 163, 194) | CMYK: 9%, 16%, 0%, 24% | HSV: 267°, 16%, 76%. Copy any format from the conversion table above.
What colors go well with #B1A3C2?
The complementary color is HSL(88, 20%, 70%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 20%, 70%) in CSS?
As HSL: color: hsl(268, 20%, 70%); — As HEX: color: #B1A3C2; — As RGB: color: rgb(177, 163, 194); — Tailwind CSS: bg-[hsl(268,20%,70%)] — CSS variable: --color-primary: hsl(268, 20%, 70%);