HSL(257, 70%, 85%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,70%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 70%, 85%) | color: hsl(257, 70%, 85%) | |
| HEX | #CDBEF4 | color: #CDBEF4 | |
| RGB | rgb(205, 190, 244) | color: rgb(205, 190, 244) | |
| CMYK | cmyk(16%, 22%, 0%, 4%) | — | |
| HSV | hsv(257, 22%, 96%) | — | |
| HWB | hwb(257 75% 4%) | color: hwb(257 75% 4%) | |
| OKLCH | oklch(0.8319 0.0762 297.45) | color: oklch(0.8319 0.0762 297.45) | |
| Lab | lab(79.81 15.76 -24.77) | color: lab(79.81 15.76 -24.77) | |
| LCH | lch(79.81 29.36 302.47) | color: lch(79.81 29.36 302.47) |
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)
#C7C6E7 — rgb(199, 198, 231)
Deuteranopia (Green-blind)
#C7C9E4 — rgb(199, 201, 228)
Tritanopia (Blue-blind)
#CCDDDA — rgb(204, 221, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 70%, 85%);
text
color: hsl(257, 70%, 85%);
border
border: 2px solid hsl(257, 70%, 85%);
gradient light
background: linear-gradient(to right, hsl(257, 70%, 100%), hsl(257, 70%, 85%));
gradient dark
background: linear-gradient(to right, hsl(257, 70%, 85%), hsl(257, 70%, 65%))
hex
background-color: #CDBEF4;
tailwind
bg-[hsl(257,70%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 70%, 85%, 0.4);
css variable
--color-primary: hsl(257, 70%, 85%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 70%, 85%)?
HEX: #CDBEF4 | RGB: rgb(205, 190, 244) | CMYK: 16%, 22%, 0%, 4% | HSV: 257°, 22%, 96%. Copy any format from the conversion table above.
What colors go well with #CDBEF4?
The complementary color is HSL(77, 70%, 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, 70%, 85%) in CSS?
As HSL: color: hsl(257, 70%, 85%); — As HEX: color: #CDBEF4; — As RGB: color: rgb(205, 190, 244); — Tailwind CSS: bg-[hsl(257,70%,85%)] — CSS variable: --color-primary: hsl(257, 70%, 85%);