HSL(261, 85%, 25%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,85%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 85%, 25%) | color: hsl(261, 85%, 25%) | |
| HEX | #2F0A76 | color: #2F0A76 | |
| RGB | rgb(47, 10, 118) | color: rgb(47, 10, 118) | |
| CMYK | cmyk(60%, 92%, 0%, 54%) | — | |
| HSV | hsv(261, 92%, 46%) | — | |
| HWB | hwb(261 4% 54%) | color: hwb(261 4% 54%) | |
| OKLCH | oklch(0.2972 0.1594 287.15) | color: oklch(0.2972 0.1594 287.15) | |
| Lab | lab(16.15 42.97 -52.91) | color: lab(16.15 42.97 -52.91) | |
| LCH | lch(16.15 68.16 309.08) | color: lch(16.15 68.16 309.08) |
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)
#1F1F5C — rgb(31, 31, 92)
Deuteranopia (Green-blind)
#212456 — rgb(33, 36, 86)
Tritanopia (Blue-blind)
#2D4743 — rgb(45, 71, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 85%, 25%);
text
color: hsl(261, 85%, 25%);
border
border: 2px solid hsl(261, 85%, 25%);
gradient light
background: linear-gradient(to right, hsl(261, 85%, 45%), hsl(261, 85%, 25%));
gradient dark
background: linear-gradient(to right, hsl(261, 85%, 25%), hsl(261, 85%, 5%))
hex
background-color: #2F0A76;
tailwind
bg-[hsl(261,85%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 85%, 25%, 0.4);
css variable
--color-primary: hsl(261, 85%, 25%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 85%, 25%)?
HEX: #2F0A76 | RGB: rgb(47, 10, 118) | CMYK: 60%, 92%, 0%, 54% | HSV: 261°, 92%, 46%. Copy any format from the conversion table above.
What colors go well with #2F0A76?
The complementary color is HSL(81, 85%, 25%). 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%, 25%) in CSS?
As HSL: color: hsl(261, 85%, 25%); — As HEX: color: #2F0A76; — As RGB: color: rgb(47, 10, 118); — Tailwind CSS: bg-[hsl(261,85%,25%)] — CSS variable: --color-primary: hsl(261, 85%, 25%);