HSL(263, 26%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,26%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 26%, 23%) | color: hsl(263, 26%, 23%) | |
| HEX | #372B4A | color: #372B4A | |
| RGB | rgb(55, 43, 74) | color: rgb(55, 43, 74) | |
| CMYK | cmyk(26%, 42%, 0%, 71%) | — | |
| HSV | hsv(263, 42%, 29%) | — | |
| HWB | hwb(263 17% 71%) | color: hwb(263 17% 71%) | |
| OKLCH | oklch(0.3171 0.0559 301.09) | color: oklch(0.3171 0.0559 301.09) | |
| Lab | lab(20.18 13.12 -17.24) | color: lab(20.18 13.12 -17.24) | |
| LCH | lch(20.18 21.66 307.27) | color: lch(20.18 21.66 307.27) |
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)
#323242 — rgb(50, 50, 66)
Deuteranopia (Green-blind)
#333341 — rgb(51, 51, 65)
Tritanopia (Blue-blind)
#363D3B — rgb(54, 61, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 26%, 23%);
text
color: hsl(263, 26%, 23%);
border
border: 2px solid hsl(263, 26%, 23%);
gradient light
background: linear-gradient(to right, hsl(263, 26%, 43%), hsl(263, 26%, 23%));
gradient dark
background: linear-gradient(to right, hsl(263, 26%, 23%), hsl(263, 26%, 3%))
hex
background-color: #372B4A;
tailwind
bg-[hsl(263,26%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 26%, 23%, 0.4);
css variable
--color-primary: hsl(263, 26%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 26%, 23%)?
HEX: #372B4A | RGB: rgb(55, 43, 74) | CMYK: 26%, 42%, 0%, 71% | HSV: 263°, 42%, 29%. Copy any format from the conversion table above.
What colors go well with #372B4A?
The complementary color is HSL(83, 26%, 23%). 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, 26%, 23%) in CSS?
As HSL: color: hsl(263, 26%, 23%); — As HEX: color: #372B4A; — As RGB: color: rgb(55, 43, 74); — Tailwind CSS: bg-[hsl(263,26%,23%)] — CSS variable: --color-primary: hsl(263, 26%, 23%);