HSL(264, 50%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,50%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 50%, 15%) | color: hsl(264, 50%, 15%) | |
| HEX | #221339 | color: #221339 | |
| RGB | rgb(34, 19, 57) | color: rgb(34, 19, 57) | |
| CMYK | cmyk(40%, 67%, 0%, 78%) | — | |
| HSV | hsv(264, 67%, 22%) | — | |
| HWB | hwb(264 7% 78%) | color: hwb(264 7% 78%) | |
| OKLCH | oklch(0.23 0.0711 298.91) | color: oklch(0.23 0.0711 298.91) | |
| Lab | lab(9.81 17.72 -21.97) | color: lab(9.81 17.72 -21.97) | |
| LCH | lch(9.81 28.23 308.89) | color: lch(9.81 28.23 308.89) |
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)
#1C1B30 — rgb(28, 27, 48)
Deuteranopia (Green-blind)
#1C1E2E — rgb(28, 30, 46)
Tritanopia (Blue-blind)
#212927 — rgb(33, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 50%, 15%);
text
color: hsl(264, 50%, 15%);
border
border: 2px solid hsl(264, 50%, 15%);
gradient light
background: linear-gradient(to right, hsl(264, 50%, 35%), hsl(264, 50%, 15%));
gradient dark
background: linear-gradient(to right, hsl(264, 50%, 15%), hsl(264, 50%, 0%))
hex
background-color: #221339;
tailwind
bg-[hsl(264,50%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 50%, 15%, 0.4);
css variable
--color-primary: hsl(264, 50%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 50%, 15%)?
HEX: #221339 | RGB: rgb(34, 19, 57) | CMYK: 40%, 67%, 0%, 78% | HSV: 264°, 67%, 22%. Copy any format from the conversion table above.
What colors go well with #221339?
The complementary color is HSL(84, 50%, 15%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 50%, 15%) in CSS?
As HSL: color: hsl(264, 50%, 15%); — As HEX: color: #221339; — As RGB: color: rgb(34, 19, 57); — Tailwind CSS: bg-[hsl(264,50%,15%)] — CSS variable: --color-primary: hsl(264, 50%, 15%);