HSL(269, 84%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(269,84%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(269, 84%, 34%) | color: hsl(269, 84%, 34%) | |
| HEX | #540EA0 | color: #540EA0 | |
| RGB | rgb(84, 14, 160) | color: rgb(84, 14, 160) | |
| CMYK | cmyk(48%, 91%, 0%, 37%) | — | |
| HSV | hsv(269, 91%, 63%) | — | |
| HWB | hwb(269 6% 37%) | color: hwb(269 6% 37%) | |
| OKLCH | oklch(0.3884 0.2011 296.33) | color: oklch(0.3884 0.2011 296.33) | |
| Lab | lab(25.97 56.36 -62.83) | color: lab(25.97 56.36 -62.83) | |
| LCH | lch(25.97 84.4 311.89) | color: lch(25.97 84.4 311.89) |
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)
#36357D — rgb(54, 53, 125)
Deuteranopia (Green-blind)
#3A3F74 — rgb(58, 63, 116)
Tritanopia (Blue-blind)
#51615B — rgb(81, 97, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(269, 84%, 34%);
text
color: hsl(269, 84%, 34%);
border
border: 2px solid hsl(269, 84%, 34%);
gradient light
background: linear-gradient(to right, hsl(269, 84%, 54%), hsl(269, 84%, 34%));
gradient dark
background: linear-gradient(to right, hsl(269, 84%, 34%), hsl(269, 84%, 14%))
hex
background-color: #540EA0;
tailwind
bg-[hsl(269,84%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(269, 84%, 34%, 0.4);
css variable
--color-primary: hsl(269, 84%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(269, 84%, 34%)?
HEX: #540EA0 | RGB: rgb(84, 14, 160) | CMYK: 48%, 91%, 0%, 37% | HSV: 269°, 91%, 63%. Copy any format from the conversion table above.
What colors go well with #540EA0?
The complementary color is HSL(89, 84%, 34%). 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, 84%, 34%) in CSS?
As HSL: color: hsl(269, 84%, 34%); — As HEX: color: #540EA0; — As RGB: color: rgb(84, 14, 160); — Tailwind CSS: bg-[hsl(269,84%,34%)] — CSS variable: --color-primary: hsl(269, 84%, 34%);