HSL(257, 30%, 85%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,30%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 30%, 85%) | color: hsl(257, 30%, 85%) | |
| HEX | #D4CDE4 | color: #D4CDE4 | |
| RGB | rgb(212, 205, 228) | color: rgb(212, 205, 228) | |
| CMYK | cmyk(7%, 10%, 0%, 11%) | — | |
| HSV | hsv(258, 10%, 89%) | — | |
| HWB | hwb(258 80% 11%) | color: hwb(258 80% 11%) | |
| OKLCH | oklch(0.8609 0.0323 299.6) | color: oklch(0.8609 0.0323 299.6) | |
| Lab | lab(83.58 6.69 -10.48) | color: lab(83.58 6.69 -10.48) | |
| LCH | lch(83.58 12.43 302.55) | color: lch(83.58 12.43 302.55) |
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)
#D1D1DE — rgb(209, 209, 222)
Deuteranopia (Green-blind)
#D1D2DD — rgb(209, 210, 221)
Tritanopia (Blue-blind)
#D4DAD9 — rgb(212, 218, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 30%, 85%);
text
color: hsl(257, 30%, 85%);
border
border: 2px solid hsl(257, 30%, 85%);
gradient light
background: linear-gradient(to right, hsl(257, 30%, 100%), hsl(257, 30%, 85%));
gradient dark
background: linear-gradient(to right, hsl(257, 30%, 85%), hsl(257, 30%, 65%))
hex
background-color: #D4CDE4;
tailwind
bg-[hsl(257,30%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 30%, 85%, 0.4);
css variable
--color-primary: hsl(257, 30%, 85%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 30%, 85%)?
HEX: #D4CDE4 | RGB: rgb(212, 205, 228) | CMYK: 7%, 10%, 0%, 11% | HSV: 258°, 10%, 89%. Copy any format from the conversion table above.
What colors go well with #D4CDE4?
The complementary color is HSL(77, 30%, 85%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 30%, 85%) in CSS?
As HSL: color: hsl(257, 30%, 85%); — As HEX: color: #D4CDE4; — As RGB: color: rgb(212, 205, 228); — Tailwind CSS: bg-[hsl(257,30%,85%)] — CSS variable: --color-primary: hsl(257, 30%, 85%);