HSL(267, 75%, 19%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,75%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 75%, 19%) | color: hsl(267, 75%, 19%) | |
| HEX | #2D0C55 | color: #2D0C55 | |
| RGB | rgb(45, 12, 85) | color: rgb(45, 12, 85) | |
| CMYK | cmyk(47%, 86%, 0%, 67%) | — | |
| HSV | hsv(267, 86%, 33%) | — | |
| HWB | hwb(267 5% 67%) | color: hwb(267 5% 67%) | |
| OKLCH | oklch(0.2603 0.1202 297.67) | color: oklch(0.2603 0.1202 297.67) | |
| Lab | lab(12.46 32.72 -37.17) | color: lab(12.46 32.72 -37.17) | |
| LCH | lch(12.46 49.52 311.36) | color: lch(12.46 49.52 311.36) |
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)
#1F1E43 — rgb(31, 30, 67)
Deuteranopia (Green-blind)
#21233F — rgb(33, 35, 63)
Tritanopia (Blue-blind)
#2B3532 — rgb(43, 53, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 75%, 19%);
text
color: hsl(267, 75%, 19%);
border
border: 2px solid hsl(267, 75%, 19%);
gradient light
background: linear-gradient(to right, hsl(267, 75%, 39%), hsl(267, 75%, 19%));
gradient dark
background: linear-gradient(to right, hsl(267, 75%, 19%), hsl(267, 75%, 0%))
hex
background-color: #2D0C55;
tailwind
bg-[hsl(267,75%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 75%, 19%, 0.4);
css variable
--color-primary: hsl(267, 75%, 19%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 75%, 19%)?
HEX: #2D0C55 | RGB: rgb(45, 12, 85) | CMYK: 47%, 86%, 0%, 67% | HSV: 267°, 86%, 33%. Copy any format from the conversion table above.
What colors go well with #2D0C55?
The complementary color is HSL(87, 75%, 19%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 75%, 19%) in CSS?
As HSL: color: hsl(267, 75%, 19%); — As HEX: color: #2D0C55; — As RGB: color: rgb(45, 12, 85); — Tailwind CSS: bg-[hsl(267,75%,19%)] — CSS variable: --color-primary: hsl(267, 75%, 19%);