HSL(267, 85%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,85%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 85%, 24%) | color: hsl(267, 85%, 24%) | |
| HEX | #380971 | color: #380971 | |
| RGB | rgb(56, 9, 113) | color: rgb(56, 9, 113) | |
| CMYK | cmyk(50%, 92%, 0%, 56%) | — | |
| HSV | hsv(267, 92%, 44%) | — | |
| HWB | hwb(267 4% 56%) | color: hwb(267 4% 56%) | |
| OKLCH | oklch(0.3015 0.1547 295.05) | color: oklch(0.3015 0.1547 295.05) | |
| Lab | lab(16.64 42.93 -48.82) | color: lab(16.64 42.93 -48.82) | |
| LCH | lch(16.64 65.01 311.33) | color: lch(16.64 65.01 311.33) |
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)
#242358 — rgb(36, 35, 88)
Deuteranopia (Green-blind)
#262A52 — rgb(38, 42, 82)
Tritanopia (Blue-blind)
#364440 — rgb(54, 68, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 85%, 24%);
text
color: hsl(267, 85%, 24%);
border
border: 2px solid hsl(267, 85%, 24%);
gradient light
background: linear-gradient(to right, hsl(267, 85%, 44%), hsl(267, 85%, 24%));
gradient dark
background: linear-gradient(to right, hsl(267, 85%, 24%), hsl(267, 85%, 4%))
hex
background-color: #380971;
tailwind
bg-[hsl(267,85%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 85%, 24%, 0.4);
css variable
--color-primary: hsl(267, 85%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 85%, 24%)?
HEX: #380971 | RGB: rgb(56, 9, 113) | CMYK: 50%, 92%, 0%, 56% | HSV: 267°, 92%, 44%. Copy any format from the conversion table above.
What colors go well with #380971?
The complementary color is HSL(87, 85%, 24%). 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, 85%, 24%) in CSS?
As HSL: color: hsl(267, 85%, 24%); — As HEX: color: #380971; — As RGB: color: rgb(56, 9, 113); — Tailwind CSS: bg-[hsl(267,85%,24%)] — CSS variable: --color-primary: hsl(267, 85%, 24%);