HSL(275, 50%, 16%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,50%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 50%, 16%) | color: hsl(275, 50%, 16%) | |
| HEX | #2C143D | color: #2C143D | |
| RGB | rgb(44, 20, 61) | color: rgb(44, 20, 61) | |
| CMYK | cmyk(28%, 67%, 0%, 76%) | — | |
| HSV | hsv(275, 67%, 24%) | — | |
| HWB | hwb(275 8% 76%) | color: hwb(275 8% 76%) | |
| OKLCH | oklch(0.2485 0.078 308.8) | color: oklch(0.2485 0.078 308.8) | |
| Lab | lab(11.77 21.27 -21.6) | color: lab(11.77 21.27 -21.6) | |
| LCH | lch(11.77 30.31 314.56) | color: lch(11.77 30.31 314.56) |
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)
#222133 — rgb(34, 33, 51)
Deuteranopia (Green-blind)
#232531 — rgb(35, 37, 49)
Tritanopia (Blue-blind)
#2B2B2A — rgb(43, 43, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 50%, 16%);
text
color: hsl(275, 50%, 16%);
border
border: 2px solid hsl(275, 50%, 16%);
gradient light
background: linear-gradient(to right, hsl(275, 50%, 36%), hsl(275, 50%, 16%));
gradient dark
background: linear-gradient(to right, hsl(275, 50%, 16%), hsl(275, 50%, 0%))
hex
background-color: #2C143D;
tailwind
bg-[hsl(275,50%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 50%, 16%, 0.4);
css variable
--color-primary: hsl(275, 50%, 16%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 50%, 16%)?
HEX: #2C143D | RGB: rgb(44, 20, 61) | CMYK: 28%, 67%, 0%, 76% | HSV: 275°, 67%, 24%. Copy any format from the conversion table above.
What colors go well with #2C143D?
The complementary color is HSL(95, 50%, 16%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 50%, 16%) in CSS?
As HSL: color: hsl(275, 50%, 16%); — As HEX: color: #2C143D; — As RGB: color: rgb(44, 20, 61); — Tailwind CSS: bg-[hsl(275,50%,16%)] — CSS variable: --color-primary: hsl(275, 50%, 16%);