HSL(257, 30%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,30%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 30%, 23%) | color: hsl(257, 30%, 23%) | |
| HEX | #33294C | color: #33294C | |
| RGB | rgb(51, 41, 76) | color: rgb(51, 41, 76) | |
| CMYK | cmyk(33%, 46%, 0%, 70%) | — | |
| HSV | hsv(257, 46%, 30%) | — | |
| HWB | hwb(257 16% 70%) | color: hwb(257 16% 70%) | |
| OKLCH | oklch(0.3095 0.0623 295.7) | color: oklch(0.3095 0.0623 295.7) | |
| Lab | lab(19.27 13.71 -20.05) | color: lab(19.27 13.71 -20.05) | |
| LCH | lch(19.27 24.29 304.36) | color: lch(19.27 24.29 304.36) |
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)
#2F2F44 — rgb(47, 47, 68)
Deuteranopia (Green-blind)
#2F3042 — rgb(47, 48, 66)
Tritanopia (Blue-blind)
#333D3B — rgb(51, 61, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 30%, 23%);
text
color: hsl(257, 30%, 23%);
border
border: 2px solid hsl(257, 30%, 23%);
gradient light
background: linear-gradient(to right, hsl(257, 30%, 43%), hsl(257, 30%, 23%));
gradient dark
background: linear-gradient(to right, hsl(257, 30%, 23%), hsl(257, 30%, 3%))
hex
background-color: #33294C;
tailwind
bg-[hsl(257,30%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 30%, 23%, 0.4);
css variable
--color-primary: hsl(257, 30%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 30%, 23%)?
HEX: #33294C | RGB: rgb(51, 41, 76) | CMYK: 33%, 46%, 0%, 70% | HSV: 257°, 46%, 30%. Copy any format from the conversion table above.
What colors go well with #33294C?
The complementary color is HSL(77, 30%, 23%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 30%, 23%) in CSS?
As HSL: color: hsl(257, 30%, 23%); — As HEX: color: #33294C; — As RGB: color: rgb(51, 41, 76); — Tailwind CSS: bg-[hsl(257,30%,23%)] — CSS variable: --color-primary: hsl(257, 30%, 23%);