HSL(268, 85%, 26%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,85%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 85%, 26%) | color: hsl(268, 85%, 26%) | |
| HEX | #3F0A7B | color: #3F0A7B | |
| RGB | rgb(63, 10, 123) | color: rgb(63, 10, 123) | |
| CMYK | cmyk(49%, 92%, 0%, 52%) | — | |
| HSV | hsv(268, 92%, 48%) | — | |
| HWB | hwb(268 4% 52%) | color: hwb(268 4% 52%) | |
| OKLCH | oklch(0.3217 0.1649 296.07) | color: oklch(0.3217 0.1649 296.07) | |
| Lab | lab(18.82 46.01 -51.65) | color: lab(18.82 46.01 -51.65) | |
| LCH | lch(18.82 69.17 311.69) | color: lch(18.82 69.17 311.69) |
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)
#282860 — rgb(40, 40, 96)
Deuteranopia (Green-blind)
#2B2F59 — rgb(43, 47, 89)
Tritanopia (Blue-blind)
#3C4A45 — rgb(60, 74, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 85%, 26%);
text
color: hsl(268, 85%, 26%);
border
border: 2px solid hsl(268, 85%, 26%);
gradient light
background: linear-gradient(to right, hsl(268, 85%, 46%), hsl(268, 85%, 26%));
gradient dark
background: linear-gradient(to right, hsl(268, 85%, 26%), hsl(268, 85%, 6%))
hex
background-color: #3F0A7B;
tailwind
bg-[hsl(268,85%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 85%, 26%, 0.4);
css variable
--color-primary: hsl(268, 85%, 26%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 85%, 26%)?
HEX: #3F0A7B | RGB: rgb(63, 10, 123) | CMYK: 49%, 92%, 0%, 52% | HSV: 268°, 92%, 48%. Copy any format from the conversion table above.
What colors go well with #3F0A7B?
The complementary color is HSL(88, 85%, 26%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 85%, 26%) in CSS?
As HSL: color: hsl(268, 85%, 26%); — As HEX: color: #3F0A7B; — As RGB: color: rgb(63, 10, 123); — Tailwind CSS: bg-[hsl(268,85%,26%)] — CSS variable: --color-primary: hsl(268, 85%, 26%);