HSL(282, 23%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,23%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 23%, 36%) | color: hsl(282, 23%, 36%) | |
| HEX | #644771 | color: #644771 | |
| RGB | rgb(100, 71, 113) | color: rgb(100, 71, 113) | |
| CMYK | cmyk(12%, 37%, 0%, 56%) | — | |
| HSV | hsv(281, 37%, 44%) | — | |
| HWB | hwb(281 28% 56%) | color: hwb(281 28% 56%) | |
| OKLCH | oklch(0.4464 0.0754 314.98) | color: oklch(0.4464 0.0754 314.98) | |
| Lab | lab(34.82 20.78 -19.42) | color: lab(34.82 20.78 -19.42) | |
| LCH | lch(34.82 28.44 316.94) | color: lch(34.82 28.44 316.94) |
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)
#575767 — rgb(87, 87, 103)
Deuteranopia (Green-blind)
#595B64 — rgb(89, 91, 100)
Tritanopia (Blue-blind)
#635F5D — rgb(99, 95, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 23%, 36%);
text
color: hsl(282, 23%, 36%);
border
border: 2px solid hsl(282, 23%, 36%);
gradient light
background: linear-gradient(to right, hsl(282, 23%, 56%), hsl(282, 23%, 36%));
gradient dark
background: linear-gradient(to right, hsl(282, 23%, 36%), hsl(282, 23%, 16%))
hex
background-color: #644771;
tailwind
bg-[hsl(282,23%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 23%, 36%, 0.4);
css variable
--color-primary: hsl(282, 23%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 23%, 36%)?
HEX: #644771 | RGB: rgb(100, 71, 113) | CMYK: 12%, 37%, 0%, 56% | HSV: 281°, 37%, 44%. Copy any format from the conversion table above.
What colors go well with #644771?
The complementary color is HSL(102, 23%, 36%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 23%, 36%) in CSS?
As HSL: color: hsl(282, 23%, 36%); — As HEX: color: #644771; — As RGB: color: rgb(100, 71, 113); — Tailwind CSS: bg-[hsl(282,23%,36%)] — CSS variable: --color-primary: hsl(282, 23%, 36%);