HSL(255, 90%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,90%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 90%, 33%) | color: hsl(255, 90%, 33%) | |
| HEX | #2E08A0 | color: #2E08A0 | |
| RGB | rgb(46, 8, 160) | color: rgb(46, 8, 160) | |
| CMYK | cmyk(71%, 95%, 0%, 37%) | — | |
| HSV | hsv(255, 95%, 63%) | — | |
| HWB | hwb(255 3% 37%) | color: hwb(255 3% 37%) | |
| OKLCH | oklch(0.3461 0.2065 277.74) | color: oklch(0.3461 0.2065 277.74) | |
| Lab | lab(21.18 54.75 -70.9) | color: lab(21.18 54.75 -70.9) | |
| LCH | lch(21.18 89.58 307.68) | color: lch(21.18 89.58 307.68) |
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)
#1E1D7B — rgb(30, 29, 123)
Deuteranopia (Green-blind)
#202372 — rgb(32, 35, 114)
Tritanopia (Blue-blind)
#2C5E58 — rgb(44, 94, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 90%, 33%);
text
color: hsl(255, 90%, 33%);
border
border: 2px solid hsl(255, 90%, 33%);
gradient light
background: linear-gradient(to right, hsl(255, 90%, 53%), hsl(255, 90%, 33%));
gradient dark
background: linear-gradient(to right, hsl(255, 90%, 33%), hsl(255, 90%, 13%))
hex
background-color: #2E08A0;
tailwind
bg-[hsl(255,90%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 90%, 33%, 0.4);
css variable
--color-primary: hsl(255, 90%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 90%, 33%)?
HEX: #2E08A0 | RGB: rgb(46, 8, 160) | CMYK: 71%, 95%, 0%, 37% | HSV: 255°, 95%, 63%. Copy any format from the conversion table above.
What colors go well with #2E08A0?
The complementary color is HSL(75, 90%, 33%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 90%, 33%) in CSS?
As HSL: color: hsl(255, 90%, 33%); — As HEX: color: #2E08A0; — As RGB: color: rgb(46, 8, 160); — Tailwind CSS: bg-[hsl(255,90%,33%)] — CSS variable: --color-primary: hsl(255, 90%, 33%);