HSL(256, 90%, 30%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,90%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 90%, 30%) | color: hsl(256, 90%, 30%) | |
| HEX | #2C0891 | color: #2C0891 | |
| RGB | rgb(44, 8, 145) | color: rgb(44, 8, 145) | |
| CMYK | cmyk(70%, 94%, 0%, 43%) | — | |
| HSV | hsv(256, 94%, 57%) | — | |
| HWB | hwb(256 3% 43%) | color: hwb(256 3% 43%) | |
| OKLCH | oklch(0.3256 0.1907 279.27) | color: oklch(0.3256 0.1907 279.27) | |
| Lab | lab(19.03 50.68 -65.24) | color: lab(19.03 50.68 -65.24) | |
| LCH | lch(19.03 82.61 307.84) | color: lch(19.03 82.61 307.84) |
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)
#1C1C70 — rgb(28, 28, 112)
Deuteranopia (Green-blind)
#1F2168 — rgb(31, 33, 104)
Tritanopia (Blue-blind)
#2A5650 — rgb(42, 86, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 90%, 30%);
text
color: hsl(256, 90%, 30%);
border
border: 2px solid hsl(256, 90%, 30%);
gradient light
background: linear-gradient(to right, hsl(256, 90%, 50%), hsl(256, 90%, 30%));
gradient dark
background: linear-gradient(to right, hsl(256, 90%, 30%), hsl(256, 90%, 10%))
hex
background-color: #2C0891;
tailwind
bg-[hsl(256,90%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 90%, 30%, 0.4);
css variable
--color-primary: hsl(256, 90%, 30%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 90%, 30%)?
HEX: #2C0891 | RGB: rgb(44, 8, 145) | CMYK: 70%, 94%, 0%, 43% | HSV: 256°, 94%, 57%. Copy any format from the conversion table above.
What colors go well with #2C0891?
The complementary color is HSL(76, 90%, 30%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 90%, 30%) in CSS?
As HSL: color: hsl(256, 90%, 30%); — As HEX: color: #2C0891; — As RGB: color: rgb(44, 8, 145); — Tailwind CSS: bg-[hsl(256,90%,30%)] — CSS variable: --color-primary: hsl(256, 90%, 30%);