HSL(260, 89%, 26%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,89%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 89%, 26%) | color: hsl(260, 89%, 26%) | |
| HEX | #2F077D | color: #2F077D | |
| RGB | rgb(47, 7, 125) | color: rgb(47, 7, 125) | |
| CMYK | cmyk(62%, 94%, 0%, 51%) | — | |
| HSV | hsv(260, 94%, 49%) | — | |
| HWB | hwb(260 3% 51%) | color: hwb(260 3% 51%) | |
| OKLCH | oklch(0.3033 0.1689 285.47) | color: oklch(0.3033 0.1689 285.47) | |
| Lab | lab(16.68 45.83 -56.52) | color: lab(16.68 45.83 -56.52) | |
| LCH | lch(16.68 72.77 309.04) | color: lch(16.68 72.77 309.04) |
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)
#1E1D60 — rgb(30, 29, 96)
Deuteranopia (Green-blind)
#20235A — rgb(32, 35, 90)
Tritanopia (Blue-blind)
#2D4A45 — rgb(45, 74, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 89%, 26%);
text
color: hsl(260, 89%, 26%);
border
border: 2px solid hsl(260, 89%, 26%);
gradient light
background: linear-gradient(to right, hsl(260, 89%, 46%), hsl(260, 89%, 26%));
gradient dark
background: linear-gradient(to right, hsl(260, 89%, 26%), hsl(260, 89%, 6%))
hex
background-color: #2F077D;
tailwind
bg-[hsl(260,89%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 89%, 26%, 0.4);
css variable
--color-primary: hsl(260, 89%, 26%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 89%, 26%)?
HEX: #2F077D | RGB: rgb(47, 7, 125) | CMYK: 62%, 94%, 0%, 51% | HSV: 260°, 94%, 49%. Copy any format from the conversion table above.
What colors go well with #2F077D?
The complementary color is HSL(80, 89%, 26%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 89%, 26%) in CSS?
As HSL: color: hsl(260, 89%, 26%); — As HEX: color: #2F077D; — As RGB: color: rgb(47, 7, 125); — Tailwind CSS: bg-[hsl(260,89%,26%)] — CSS variable: --color-primary: hsl(260, 89%, 26%);