HSL(277, 20%, 67%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,20%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 20%, 67%) | color: hsl(277, 20%, 67%) | |
| HEX | #AF9ABC | color: #AF9ABC | |
| RGB | rgb(175, 154, 188) | color: rgb(175, 154, 188) | |
| CMYK | cmyk(7%, 18%, 0%, 26%) | — | |
| HSV | hsv(277, 18%, 74%) | — | |
| HWB | hwb(277 61% 26%) | color: hwb(277 61% 26%) | |
| OKLCH | oklch(0.7158 0.0539 312.52) | color: oklch(0.7158 0.0539 312.52) | |
| Lab | lab(66.41 14.13 -14.71) | color: lab(66.41 14.13 -14.71) | |
| LCH | lch(66.41 20.4 313.85) | color: lch(66.41 20.4 313.85) |
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)
#A6A6B4 — rgb(166, 166, 180)
Deuteranopia (Green-blind)
#A7A9B2 — rgb(167, 169, 178)
Tritanopia (Blue-blind)
#AEADAC — rgb(174, 173, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 20%, 67%);
text
color: hsl(277, 20%, 67%);
border
border: 2px solid hsl(277, 20%, 67%);
gradient light
background: linear-gradient(to right, hsl(277, 20%, 87%), hsl(277, 20%, 67%));
gradient dark
background: linear-gradient(to right, hsl(277, 20%, 67%), hsl(277, 20%, 47%))
hex
background-color: #AF9ABC;
tailwind
bg-[hsl(277,20%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 20%, 67%, 0.4);
css variable
--color-primary: hsl(277, 20%, 67%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 20%, 67%)?
HEX: #AF9ABC | RGB: rgb(175, 154, 188) | CMYK: 7%, 18%, 0%, 26% | HSV: 277°, 18%, 74%. Copy any format from the conversion table above.
What colors go well with #AF9ABC?
The complementary color is HSL(97, 20%, 67%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 20%, 67%) in CSS?
As HSL: color: hsl(277, 20%, 67%); — As HEX: color: #AF9ABC; — As RGB: color: rgb(175, 154, 188); — Tailwind CSS: bg-[hsl(277,20%,67%)] — CSS variable: --color-primary: hsl(277, 20%, 67%);