HSL(272, 22%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,22%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 22%, 84%) | color: hsl(272, 22%, 84%) | |
| HEX | #D7CDDF | color: #D7CDDF | |
| RGB | rgb(215, 205, 223) | color: rgb(215, 205, 223) | |
| CMYK | cmyk(4%, 8%, 0%, 13%) | — | |
| HSV | hsv(273, 8%, 87%) | — | |
| HWB | hwb(273 80% 13%) | color: hwb(273 80% 13%) | |
| OKLCH | oklch(0.8618 0.0268 310.37) | color: oklch(0.8618 0.0268 310.37) | |
| Lab | lab(83.67 6.73 -7.65) | color: lab(83.67 6.73 -7.65) | |
| LCH | lch(83.67 10.19 311.34) | color: lch(83.67 10.19 311.34) |
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)
#D3D3DB — rgb(211, 211, 219)
Deuteranopia (Green-blind)
#D3D4DA — rgb(211, 212, 218)
Tritanopia (Blue-blind)
#D7D7D6 — rgb(215, 215, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 22%, 84%);
text
color: hsl(272, 22%, 84%);
border
border: 2px solid hsl(272, 22%, 84%);
gradient light
background: linear-gradient(to right, hsl(272, 22%, 100%), hsl(272, 22%, 84%));
gradient dark
background: linear-gradient(to right, hsl(272, 22%, 84%), hsl(272, 22%, 64%))
hex
background-color: #D7CDDF;
tailwind
bg-[hsl(272,22%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 22%, 84%, 0.4);
css variable
--color-primary: hsl(272, 22%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 22%, 84%)?
HEX: #D7CDDF | RGB: rgb(215, 205, 223) | CMYK: 4%, 8%, 0%, 13% | HSV: 273°, 8%, 87%. Copy any format from the conversion table above.
What colors go well with #D7CDDF?
The complementary color is HSL(92, 22%, 84%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 22%, 84%) in CSS?
As HSL: color: hsl(272, 22%, 84%); — As HEX: color: #D7CDDF; — As RGB: color: rgb(215, 205, 223); — Tailwind CSS: bg-[hsl(272,22%,84%)] — CSS variable: --color-primary: hsl(272, 22%, 84%);