HSL(266, 58%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,58%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 58%, 15%) | color: hsl(266, 58%, 15%) | |
| HEX | #23103C | color: #23103C | |
| RGB | rgb(35, 16, 60) | color: rgb(35, 16, 60) | |
| CMYK | cmyk(42%, 73%, 0%, 76%) | — | |
| HSV | hsv(266, 73%, 24%) | — | |
| HWB | hwb(266 6% 76%) | color: hwb(266 6% 76%) | |
| OKLCH | oklch(0.2283 0.081 299.84) | color: oklch(0.2283 0.081 299.84) | |
| Lab | lab(9.43 20.97 -24.72) | color: lab(9.43 20.97 -24.72) | |
| LCH | lch(9.43 32.42 310.31) | color: lch(9.43 32.42 310.31) |
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)
#1B1B31 — rgb(27, 27, 49)
Deuteranopia (Green-blind)
#1C1D2F — rgb(28, 29, 47)
Tritanopia (Blue-blind)
#222927 — rgb(34, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 58%, 15%);
text
color: hsl(266, 58%, 15%);
border
border: 2px solid hsl(266, 58%, 15%);
gradient light
background: linear-gradient(to right, hsl(266, 58%, 35%), hsl(266, 58%, 15%));
gradient dark
background: linear-gradient(to right, hsl(266, 58%, 15%), hsl(266, 58%, 0%))
hex
background-color: #23103C;
tailwind
bg-[hsl(266,58%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 58%, 15%, 0.4);
css variable
--color-primary: hsl(266, 58%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 58%, 15%)?
HEX: #23103C | RGB: rgb(35, 16, 60) | CMYK: 42%, 73%, 0%, 76% | HSV: 266°, 73%, 24%. Copy any format from the conversion table above.
What colors go well with #23103C?
The complementary color is HSL(86, 58%, 15%). 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, 58%, 15%) in CSS?
As HSL: color: hsl(266, 58%, 15%); — As HEX: color: #23103C; — As RGB: color: rgb(35, 16, 60); — Tailwind CSS: bg-[hsl(266,58%,15%)] — CSS variable: --color-primary: hsl(266, 58%, 15%);