HSL(264, 75%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,75%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 75%, 23%) | color: hsl(264, 75%, 23%) | |
| HEX | #320F67 | color: #320F67 | |
| RGB | rgb(50, 15, 103) | color: rgb(50, 15, 103) | |
| CMYK | cmyk(51%, 85%, 0%, 60%) | — | |
| HSV | hsv(264, 85%, 40%) | — | |
| HWB | hwb(264 6% 60%) | color: hwb(264 6% 60%) | |
| OKLCH | oklch(0.2885 0.1386 293.61) | color: oklch(0.2885 0.1386 293.61) | |
| Lab | lab(15.48 37.26 -44.22) | color: lab(15.48 37.26 -44.22) | |
| LCH | lch(15.48 57.82 310.12) | color: lch(15.48 57.82 310.12) |
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)
#232352 — rgb(35, 35, 82)
Deuteranopia (Green-blind)
#25284D — rgb(37, 40, 77)
Tritanopia (Blue-blind)
#30413D — rgb(48, 65, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 75%, 23%);
text
color: hsl(264, 75%, 23%);
border
border: 2px solid hsl(264, 75%, 23%);
gradient light
background: linear-gradient(to right, hsl(264, 75%, 43%), hsl(264, 75%, 23%));
gradient dark
background: linear-gradient(to right, hsl(264, 75%, 23%), hsl(264, 75%, 3%))
hex
background-color: #320F67;
tailwind
bg-[hsl(264,75%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 75%, 23%, 0.4);
css variable
--color-primary: hsl(264, 75%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 75%, 23%)?
HEX: #320F67 | RGB: rgb(50, 15, 103) | CMYK: 51%, 85%, 0%, 60% | HSV: 264°, 85%, 40%. Copy any format from the conversion table above.
What colors go well with #320F67?
The complementary color is HSL(84, 75%, 23%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 75%, 23%) in CSS?
As HSL: color: hsl(264, 75%, 23%); — As HEX: color: #320F67; — As RGB: color: rgb(50, 15, 103); — Tailwind CSS: bg-[hsl(264,75%,23%)] — CSS variable: --color-primary: hsl(264, 75%, 23%);