HSL(274, 89%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,89%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 89%, 15%) | color: hsl(274, 89%, 15%) | |
| HEX | #2B0448 | color: #2B0448 | |
| RGB | rgb(43, 4, 72) | color: rgb(43, 4, 72) | |
| CMYK | cmyk(40%, 94%, 0%, 72%) | — | |
| HSV | hsv(274, 94%, 28%) | — | |
| HWB | hwb(274 2% 72%) | color: hwb(274 2% 72%) | |
| OKLCH | oklch(0.2354 0.1142 304.49) | color: oklch(0.2354 0.1142 304.49) | |
| Lab | lab(9.55 32.57 -32.98) | color: lab(9.55 32.57 -32.98) | |
| LCH | lch(9.55 46.35 314.64) | color: lch(9.55 46.35 314.64) |
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)
#1A1A38 — rgb(26, 26, 56)
Deuteranopia (Green-blind)
#1C1F34 — rgb(28, 31, 52)
Tritanopia (Blue-blind)
#292B28 — rgb(41, 43, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 89%, 15%);
text
color: hsl(274, 89%, 15%);
border
border: 2px solid hsl(274, 89%, 15%);
gradient light
background: linear-gradient(to right, hsl(274, 89%, 35%), hsl(274, 89%, 15%));
gradient dark
background: linear-gradient(to right, hsl(274, 89%, 15%), hsl(274, 89%, 0%))
hex
background-color: #2B0448;
tailwind
bg-[hsl(274,89%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 89%, 15%, 0.4);
css variable
--color-primary: hsl(274, 89%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 89%, 15%)?
HEX: #2B0448 | RGB: rgb(43, 4, 72) | CMYK: 40%, 94%, 0%, 72% | HSV: 274°, 94%, 28%. Copy any format from the conversion table above.
What colors go well with #2B0448?
The complementary color is HSL(94, 89%, 15%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 89%, 15%) in CSS?
As HSL: color: hsl(274, 89%, 15%); — As HEX: color: #2B0448; — As RGB: color: rgb(43, 4, 72); — Tailwind CSS: bg-[hsl(274,89%,15%)] — CSS variable: --color-primary: hsl(274, 89%, 15%);