HSL(275, 21%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,21%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 21%, 81%) | color: hsl(275, 21%, 81%) | |
| HEX | #D0C4D9 | color: #D0C4D9 | |
| RGB | rgb(208, 196, 217) | color: rgb(208, 196, 217) | |
| CMYK | cmyk(4%, 10%, 0%, 15%) | — | |
| HSV | hsv(274, 10%, 85%) | — | |
| HWB | hwb(274 77% 15%) | color: hwb(274 77% 15%) | |
| OKLCH | oklch(0.8365 0.0316 310.95) | color: oklch(0.8365 0.0316 310.95) | |
| Lab | lab(80.68 8.03 -8.94) | color: lab(80.68 8.03 -8.94) | |
| LCH | lch(80.68 12.02 311.93) | color: lch(80.68 12.02 311.93) |
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)
#CBCBD4 — rgb(203, 203, 212)
Deuteranopia (Green-blind)
#CCCCD3 — rgb(204, 204, 211)
Tritanopia (Blue-blind)
#CFD0CF — rgb(207, 208, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 21%, 81%);
text
color: hsl(275, 21%, 81%);
border
border: 2px solid hsl(275, 21%, 81%);
gradient light
background: linear-gradient(to right, hsl(275, 21%, 100%), hsl(275, 21%, 81%));
gradient dark
background: linear-gradient(to right, hsl(275, 21%, 81%), hsl(275, 21%, 61%))
hex
background-color: #D0C4D9;
tailwind
bg-[hsl(275,21%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 21%, 81%, 0.4);
css variable
--color-primary: hsl(275, 21%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 21%, 81%)?
HEX: #D0C4D9 | RGB: rgb(208, 196, 217) | CMYK: 4%, 10%, 0%, 15% | HSV: 274°, 10%, 85%. Copy any format from the conversion table above.
What colors go well with #D0C4D9?
The complementary color is HSL(95, 21%, 81%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 21%, 81%) in CSS?
As HSL: color: hsl(275, 21%, 81%); — As HEX: color: #D0C4D9; — As RGB: color: rgb(208, 196, 217); — Tailwind CSS: bg-[hsl(275,21%,81%)] — CSS variable: --color-primary: hsl(275, 21%, 81%);