HSL(262, 96%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,96%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 96%, 36%) | color: hsl(262, 96%, 36%) | |
| HEX | #4404B4 | color: #4404B4 | |
| RGB | rgb(68, 4, 180) | color: rgb(68, 4, 180) | |
| CMYK | cmyk(62%, 98%, 0%, 29%) | — | |
| HSV | hsv(262, 98%, 71%) | — | |
| HWB | hwb(262 1% 29%) | color: hwb(262 1% 29%) | |
| OKLCH | oklch(0.388 0.2249 284.48) | color: oklch(0.388 0.2249 284.48) | |
| Lab | lab(25.59 61.86 -75.59) | color: lab(25.59 61.86 -75.59) | |
| LCH | lch(25.59 97.68 309.3) | color: lch(25.59 97.68 309.3) |
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)
#282889 — rgb(40, 40, 137)
Deuteranopia (Green-blind)
#2C317F — rgb(44, 49, 127)
Tritanopia (Blue-blind)
#416860 — rgb(65, 104, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 96%, 36%);
text
color: hsl(262, 96%, 36%);
border
border: 2px solid hsl(262, 96%, 36%);
gradient light
background: linear-gradient(to right, hsl(262, 96%, 56%), hsl(262, 96%, 36%));
gradient dark
background: linear-gradient(to right, hsl(262, 96%, 36%), hsl(262, 96%, 16%))
hex
background-color: #4404B4;
tailwind
bg-[hsl(262,96%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 96%, 36%, 0.4);
css variable
--color-primary: hsl(262, 96%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 96%, 36%)?
HEX: #4404B4 | RGB: rgb(68, 4, 180) | CMYK: 62%, 98%, 0%, 29% | HSV: 262°, 98%, 71%. Copy any format from the conversion table above.
What colors go well with #4404B4?
The complementary color is HSL(82, 96%, 36%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 96%, 36%) in CSS?
As HSL: color: hsl(262, 96%, 36%); — As HEX: color: #4404B4; — As RGB: color: rgb(68, 4, 180); — Tailwind CSS: bg-[hsl(262,96%,36%)] — CSS variable: --color-primary: hsl(262, 96%, 36%);