HSL(263, 86%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,86%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 86%, 29%) | color: hsl(263, 86%, 29%) | |
| HEX | #3B0A8A | color: #3B0A8A | |
| RGB | rgb(59, 10, 138) | color: rgb(59, 10, 138) | |
| CMYK | cmyk(57%, 93%, 0%, 46%) | — | |
| HSV | hsv(263, 93%, 54%) | — | |
| HWB | hwb(263 4% 46%) | color: hwb(263 4% 46%) | |
| OKLCH | oklch(0.3334 0.1804 289.03) | color: oklch(0.3334 0.1804 289.03) | |
| Lab | lab(19.97 49.41 -59.25) | color: lab(19.97 49.41 -59.25) | |
| LCH | lch(19.97 77.15 309.83) | color: lch(19.97 77.15 309.83) |
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)
#26256B — rgb(38, 37, 107)
Deuteranopia (Green-blind)
#292C64 — rgb(41, 44, 100)
Tritanopia (Blue-blind)
#39534D — rgb(57, 83, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 86%, 29%);
text
color: hsl(263, 86%, 29%);
border
border: 2px solid hsl(263, 86%, 29%);
gradient light
background: linear-gradient(to right, hsl(263, 86%, 49%), hsl(263, 86%, 29%));
gradient dark
background: linear-gradient(to right, hsl(263, 86%, 29%), hsl(263, 86%, 9%))
hex
background-color: #3B0A8A;
tailwind
bg-[hsl(263,86%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 86%, 29%, 0.4);
css variable
--color-primary: hsl(263, 86%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 86%, 29%)?
HEX: #3B0A8A | RGB: rgb(59, 10, 138) | CMYK: 57%, 93%, 0%, 46% | HSV: 263°, 93%, 54%. Copy any format from the conversion table above.
What colors go well with #3B0A8A?
The complementary color is HSL(83, 86%, 29%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 86%, 29%) in CSS?
As HSL: color: hsl(263, 86%, 29%); — As HEX: color: #3B0A8A; — As RGB: color: rgb(59, 10, 138); — Tailwind CSS: bg-[hsl(263,86%,29%)] — CSS variable: --color-primary: hsl(263, 86%, 29%);