HSL(260, 73%, 28%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,73%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 73%, 28%) | color: hsl(260, 73%, 28%) | |
| HEX | #36137C | color: #36137C | |
| RGB | rgb(54, 19, 124) | color: rgb(54, 19, 124) | |
| CMYK | cmyk(56%, 85%, 0%, 51%) | — | |
| HSV | hsv(260, 85%, 49%) | — | |
| HWB | hwb(260 7% 51%) | color: hwb(260 7% 51%) | |
| OKLCH | oklch(0.3195 0.1591 288.95) | color: oklch(0.3195 0.1591 288.95) | |
| Lab | lab(18.82 42.02 -52.32) | color: lab(18.82 42.02 -52.32) | |
| LCH | lch(18.82 67.1 308.77) | color: lch(18.82 67.1 308.77) |
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)
#272763 — rgb(39, 39, 99)
Deuteranopia (Green-blind)
#292C5D — rgb(41, 44, 93)
Tritanopia (Blue-blind)
#344F4A — rgb(52, 79, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 73%, 28%);
text
color: hsl(260, 73%, 28%);
border
border: 2px solid hsl(260, 73%, 28%);
gradient light
background: linear-gradient(to right, hsl(260, 73%, 48%), hsl(260, 73%, 28%));
gradient dark
background: linear-gradient(to right, hsl(260, 73%, 28%), hsl(260, 73%, 8%))
hex
background-color: #36137C;
tailwind
bg-[hsl(260,73%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 73%, 28%, 0.4);
css variable
--color-primary: hsl(260, 73%, 28%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 73%, 28%)?
HEX: #36137C | RGB: rgb(54, 19, 124) | CMYK: 56%, 85%, 0%, 51% | HSV: 260°, 85%, 49%. Copy any format from the conversion table above.
What colors go well with #36137C?
The complementary color is HSL(80, 73%, 28%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 73%, 28%) in CSS?
As HSL: color: hsl(260, 73%, 28%); — As HEX: color: #36137C; — As RGB: color: rgb(54, 19, 124); — Tailwind CSS: bg-[hsl(260,73%,28%)] — CSS variable: --color-primary: hsl(260, 73%, 28%);