HSL(262, 97%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,97%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 97%, 34%) | color: hsl(262, 97%, 34%) | |
| HEX | #4003AB | color: #4003AB | |
| RGB | rgb(64, 3, 171) | color: rgb(64, 3, 171) | |
| CMYK | cmyk(63%, 98%, 0%, 33%) | — | |
| HSV | hsv(262, 98%, 67%) | — | |
| HWB | hwb(262 1% 33%) | color: hwb(262 1% 33%) | |
| OKLCH | oklch(0.3731 0.2167 284.41) | color: oklch(0.3731 0.2167 284.41) | |
| Lab | lab(23.98 59.67 -72.87) | color: lab(23.98 59.67 -72.87) | |
| LCH | lch(23.98 94.18 309.31) | color: lch(23.98 94.18 309.31) |
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)
#262582 — rgb(38, 37, 130)
Deuteranopia (Green-blind)
#292E79 — rgb(41, 46, 121)
Tritanopia (Blue-blind)
#3D625B — rgb(61, 98, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 97%, 34%);
text
color: hsl(262, 97%, 34%);
border
border: 2px solid hsl(262, 97%, 34%);
gradient light
background: linear-gradient(to right, hsl(262, 97%, 54%), hsl(262, 97%, 34%));
gradient dark
background: linear-gradient(to right, hsl(262, 97%, 34%), hsl(262, 97%, 14%))
hex
background-color: #4003AB;
tailwind
bg-[hsl(262,97%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 97%, 34%, 0.4);
css variable
--color-primary: hsl(262, 97%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 97%, 34%)?
HEX: #4003AB | RGB: rgb(64, 3, 171) | CMYK: 63%, 98%, 0%, 33% | HSV: 262°, 98%, 67%. Copy any format from the conversion table above.
What colors go well with #4003AB?
The complementary color is HSL(82, 97%, 34%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 97%, 34%) in CSS?
As HSL: color: hsl(262, 97%, 34%); — As HEX: color: #4003AB; — As RGB: color: rgb(64, 3, 171); — Tailwind CSS: bg-[hsl(262,97%,34%)] — CSS variable: --color-primary: hsl(262, 97%, 34%);