HSL(269, 80%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(269,80%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(269, 80%, 24%) | color: hsl(269, 80%, 24%) | |
| HEX | #3C0C6E | color: #3C0C6E | |
| RGB | rgb(60, 12, 110) | color: rgb(60, 12, 110) | |
| CMYK | cmyk(45%, 89%, 0%, 57%) | — | |
| HSV | hsv(269, 89%, 43%) | — | |
| HWB | hwb(269 5% 57%) | color: hwb(269 5% 57%) | |
| OKLCH | oklch(0.3058 0.1498 298.65) | color: oklch(0.3058 0.1498 298.65) | |
| Lab | lab(17.22 41.72 -45.9) | color: lab(17.22 41.72 -45.9) | |
| LCH | lch(17.22 62.03 312.27) | color: lch(17.22 62.03 312.27) |
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)
#272756 — rgb(39, 39, 86)
Deuteranopia (Green-blind)
#2A2E51 — rgb(42, 46, 81)
Tritanopia (Blue-blind)
#3A443F — rgb(58, 68, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(269, 80%, 24%);
text
color: hsl(269, 80%, 24%);
border
border: 2px solid hsl(269, 80%, 24%);
gradient light
background: linear-gradient(to right, hsl(269, 80%, 44%), hsl(269, 80%, 24%));
gradient dark
background: linear-gradient(to right, hsl(269, 80%, 24%), hsl(269, 80%, 4%))
hex
background-color: #3C0C6E;
tailwind
bg-[hsl(269,80%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(269, 80%, 24%, 0.4);
css variable
--color-primary: hsl(269, 80%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(269, 80%, 24%)?
HEX: #3C0C6E | RGB: rgb(60, 12, 110) | CMYK: 45%, 89%, 0%, 57% | HSV: 269°, 89%, 43%. Copy any format from the conversion table above.
What colors go well with #3C0C6E?
The complementary color is HSL(89, 80%, 24%). For a triadic harmony, use hues 269°, 29°, and 149°. For analogous combinations, try hues 239° and 299°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(269, 80%, 24%) in CSS?
As HSL: color: hsl(269, 80%, 24%); — As HEX: color: #3C0C6E; — As RGB: color: rgb(60, 12, 110); — Tailwind CSS: bg-[hsl(269,80%,24%)] — CSS variable: --color-primary: hsl(269, 80%, 24%);