HSL(266, 90%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,90%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 90%, 23%) | color: hsl(266, 90%, 23%) | |
| HEX | #34066F | color: #34066F | |
| RGB | rgb(52, 6, 111) | color: rgb(52, 6, 111) | |
| CMYK | cmyk(53%, 95%, 0%, 56%) | — | |
| HSV | hsv(266, 95%, 44%) | — | |
| HWB | hwb(266 2% 56%) | color: hwb(266 2% 56%) | |
| OKLCH | oklch(0.2921 0.1544 293.29) | color: oklch(0.2921 0.1544 293.29) | |
| Lab | lab(15.53 42.95 -49.38) | color: lab(15.53 42.95 -49.38) | |
| LCH | lch(15.53 65.45 311.02) | color: lch(15.53 65.45 311.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)
#202056 — rgb(32, 32, 86)
Deuteranopia (Green-blind)
#232650 — rgb(35, 38, 80)
Tritanopia (Blue-blind)
#32423D — rgb(50, 66, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 90%, 23%);
text
color: hsl(266, 90%, 23%);
border
border: 2px solid hsl(266, 90%, 23%);
gradient light
background: linear-gradient(to right, hsl(266, 90%, 43%), hsl(266, 90%, 23%));
gradient dark
background: linear-gradient(to right, hsl(266, 90%, 23%), hsl(266, 90%, 3%))
hex
background-color: #34066F;
tailwind
bg-[hsl(266,90%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 90%, 23%, 0.4);
css variable
--color-primary: hsl(266, 90%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 90%, 23%)?
HEX: #34066F | RGB: rgb(52, 6, 111) | CMYK: 53%, 95%, 0%, 56% | HSV: 266°, 95%, 44%. Copy any format from the conversion table above.
What colors go well with #34066F?
The complementary color is HSL(86, 90%, 23%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 90%, 23%) in CSS?
As HSL: color: hsl(266, 90%, 23%); — As HEX: color: #34066F; — As RGB: color: rgb(52, 6, 111); — Tailwind CSS: bg-[hsl(266,90%,23%)] — CSS variable: --color-primary: hsl(266, 90%, 23%);