HSL(284, 20%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(284,20%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(284, 20%, 36%) | color: hsl(284, 20%, 36%) | |
| HEX | #64496E | color: #64496E | |
| RGB | rgb(100, 73, 110) | color: rgb(100, 73, 110) | |
| CMYK | cmyk(9%, 34%, 0%, 57%) | — | |
| HSV | hsv(284, 34%, 43%) | — | |
| HWB | hwb(284 28% 57%) | color: hwb(284 28% 57%) | |
| OKLCH | oklch(0.4489 0.0675 316.68) | color: oklch(0.4489 0.0675 316.68) | |
| Lab | lab(35.2 18.84 -16.95) | color: lab(35.2 18.84 -16.95) | |
| LCH | lch(35.2 25.34 318.02) | color: lch(35.2 25.34 318.02) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#585865 — rgb(88, 88, 101)
Deuteranopia (Green-blind)
#5A5C63 — rgb(90, 92, 99)
Tritanopia (Blue-blind)
#635E5C — rgb(99, 94, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(284, 20%, 36%);
text
color: hsl(284, 20%, 36%);
border
border: 2px solid hsl(284, 20%, 36%);
gradient light
background: linear-gradient(to right, hsl(284, 20%, 56%), hsl(284, 20%, 36%));
gradient dark
background: linear-gradient(to right, hsl(284, 20%, 36%), hsl(284, 20%, 16%))
hex
background-color: #64496E;
tailwind
bg-[hsl(284,20%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(284, 20%, 36%, 0.4);
css variable
--color-primary: hsl(284, 20%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(284, 20%, 36%)?
HEX: #64496E | RGB: rgb(100, 73, 110) | CMYK: 9%, 34%, 0%, 57% | HSV: 284°, 34%, 43%. Copy any format from the conversion table above.
What colors go well with #64496E?
The complementary color is HSL(104, 20%, 36%). For a triadic harmony, use hues 284°, 44°, and 164°. For analogous combinations, try hues 254° and 314°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(284, 20%, 36%) in CSS?
As HSL: color: hsl(284, 20%, 36%); — As HEX: color: #64496E; — As RGB: color: rgb(100, 73, 110); — Tailwind CSS: bg-[hsl(284,20%,36%)] — CSS variable: --color-primary: hsl(284, 20%, 36%);