HSL(279, 70%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,70%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 70%, 15%) | color: hsl(279, 70%, 15%) | |
| HEX | #2E0B41 | color: #2E0B41 | |
| RGB | rgb(46, 11, 65) | color: rgb(46, 11, 65) | |
| CMYK | cmyk(29%, 83%, 0%, 75%) | — | |
| HSV | hsv(279, 83%, 25%) | — | |
| HWB | hwb(279 4% 75%) | color: hwb(279 4% 75%) | |
| OKLCH | oklch(0.2415 0.0983 310.63) | color: oklch(0.2415 0.0983 310.63) | |
| Lab | lab(10.57 27.97 -26.36) | color: lab(10.57 27.97 -26.36) | |
| LCH | lch(10.57 38.43 316.7) | color: lch(10.57 38.43 316.7) |
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)
#1F1F34 — rgb(31, 31, 52)
Deuteranopia (Green-blind)
#212431 — rgb(33, 36, 49)
Tritanopia (Blue-blind)
#2C2A27 — rgb(44, 42, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 70%, 15%);
text
color: hsl(279, 70%, 15%);
border
border: 2px solid hsl(279, 70%, 15%);
gradient light
background: linear-gradient(to right, hsl(279, 70%, 35%), hsl(279, 70%, 15%));
gradient dark
background: linear-gradient(to right, hsl(279, 70%, 15%), hsl(279, 70%, 0%))
hex
background-color: #2E0B41;
tailwind
bg-[hsl(279,70%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 70%, 15%, 0.4);
css variable
--color-primary: hsl(279, 70%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 70%, 15%)?
HEX: #2E0B41 | RGB: rgb(46, 11, 65) | CMYK: 29%, 83%, 0%, 75% | HSV: 279°, 83%, 25%. Copy any format from the conversion table above.
What colors go well with #2E0B41?
The complementary color is HSL(99, 70%, 15%). For a triadic harmony, use hues 279°, 39°, and 159°. For analogous combinations, try hues 249° and 309°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(279, 70%, 15%) in CSS?
As HSL: color: hsl(279, 70%, 15%); — As HEX: color: #2E0B41; — As RGB: color: rgb(46, 11, 65); — Tailwind CSS: bg-[hsl(279,70%,15%)] — CSS variable: --color-primary: hsl(279, 70%, 15%);