HSL(261, 85%, 38%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,85%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 85%, 38%) | color: hsl(261, 85%, 38%) | |
| HEX | #480FB3 | color: #480FB3 | |
| RGB | rgb(72, 15, 179) | color: rgb(72, 15, 179) | |
| CMYK | cmyk(60%, 92%, 0%, 30%) | — | |
| HSV | hsv(261, 92%, 70%) | — | |
| HWB | hwb(261 6% 30%) | color: hwb(261 6% 30%) | |
| OKLCH | oklch(0.3958 0.2194 286.05) | color: oklch(0.3958 0.2194 286.05) | |
| Lab | lab(26.66 59.62 -73.21) | color: lab(26.66 59.62 -73.21) | |
| LCH | lch(26.66 94.42 309.16) | color: lch(26.66 94.42 309.16) |
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)
#2F2F8B — rgb(47, 47, 139)
Deuteranopia (Green-blind)
#333782 — rgb(51, 55, 130)
Tritanopia (Blue-blind)
#456C65 — rgb(69, 108, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 85%, 38%);
text
color: hsl(261, 85%, 38%);
border
border: 2px solid hsl(261, 85%, 38%);
gradient light
background: linear-gradient(to right, hsl(261, 85%, 58%), hsl(261, 85%, 38%));
gradient dark
background: linear-gradient(to right, hsl(261, 85%, 38%), hsl(261, 85%, 18%))
hex
background-color: #480FB3;
tailwind
bg-[hsl(261,85%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 85%, 38%, 0.4);
css variable
--color-primary: hsl(261, 85%, 38%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 85%, 38%)?
HEX: #480FB3 | RGB: rgb(72, 15, 179) | CMYK: 60%, 92%, 0%, 30% | HSV: 261°, 92%, 70%. Copy any format from the conversion table above.
What colors go well with #480FB3?
The complementary color is HSL(81, 85%, 38%). 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, 85%, 38%) in CSS?
As HSL: color: hsl(261, 85%, 38%); — As HEX: color: #480FB3; — As RGB: color: rgb(72, 15, 179); — Tailwind CSS: bg-[hsl(261,85%,38%)] — CSS variable: --color-primary: hsl(261, 85%, 38%);