HSL(261, 83%, 18%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,83%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 83%, 18%) | color: hsl(261, 83%, 18%) | |
| HEX | #220854 | color: #220854 | |
| RGB | rgb(34, 8, 84) | color: rgb(34, 8, 84) | |
| CMYK | cmyk(60%, 90%, 0%, 67%) | — | |
| HSV | hsv(261, 90%, 33%) | — | |
| HWB | hwb(261 3% 67%) | color: hwb(261 3% 67%) | |
| OKLCH | oklch(0.241 0.1224 288.98) | color: oklch(0.241 0.1224 288.98) | |
| Lab | lab(10.21 32.6 -40.23) | color: lab(10.21 32.6 -40.23) | |
| LCH | lch(10.21 51.78 309.02) | color: lch(10.21 51.78 309.02) |
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)
#171742 — rgb(23, 23, 66)
Deuteranopia (Green-blind)
#181A3D — rgb(24, 26, 61)
Tritanopia (Blue-blind)
#213330 — rgb(33, 51, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 83%, 18%);
text
color: hsl(261, 83%, 18%);
border
border: 2px solid hsl(261, 83%, 18%);
gradient light
background: linear-gradient(to right, hsl(261, 83%, 38%), hsl(261, 83%, 18%));
gradient dark
background: linear-gradient(to right, hsl(261, 83%, 18%), hsl(261, 83%, 0%))
hex
background-color: #220854;
tailwind
bg-[hsl(261,83%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 83%, 18%, 0.4);
css variable
--color-primary: hsl(261, 83%, 18%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 83%, 18%)?
HEX: #220854 | RGB: rgb(34, 8, 84) | CMYK: 60%, 90%, 0%, 67% | HSV: 261°, 90%, 33%. Copy any format from the conversion table above.
What colors go well with #220854?
The complementary color is HSL(81, 83%, 18%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 83%, 18%) in CSS?
As HSL: color: hsl(261, 83%, 18%); — As HEX: color: #220854; — As RGB: color: rgb(34, 8, 84); — Tailwind CSS: bg-[hsl(261,83%,18%)] — CSS variable: --color-primary: hsl(261, 83%, 18%);