HSL(263, 50%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,50%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 50%, 24%) | color: hsl(263, 50%, 24%) | |
| HEX | #361F5C | color: #361F5C | |
| RGB | rgb(54, 31, 92) | color: rgb(54, 31, 92) | |
| CMYK | cmyk(41%, 66%, 0%, 64%) | — | |
| HSV | hsv(263, 66%, 36%) | — | |
| HWB | hwb(263 12% 64%) | color: hwb(263 12% 64%) | |
| OKLCH | oklch(0.305 0.1045 297.15) | color: oklch(0.305 0.1045 297.15) | |
| Lab | lab(18.08 26.17 -32.67) | color: lab(18.08 26.17 -32.67) | |
| LCH | lch(18.08 41.86 308.7) | color: lch(18.08 41.86 308.7) |
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)
#2C2C4D — rgb(44, 44, 77)
Deuteranopia (Green-blind)
#2D2F4A — rgb(45, 47, 74)
Tritanopia (Blue-blind)
#35423F — rgb(53, 66, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 50%, 24%);
text
color: hsl(263, 50%, 24%);
border
border: 2px solid hsl(263, 50%, 24%);
gradient light
background: linear-gradient(to right, hsl(263, 50%, 44%), hsl(263, 50%, 24%));
gradient dark
background: linear-gradient(to right, hsl(263, 50%, 24%), hsl(263, 50%, 4%))
hex
background-color: #361F5C;
tailwind
bg-[hsl(263,50%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 50%, 24%, 0.4);
css variable
--color-primary: hsl(263, 50%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 50%, 24%)?
HEX: #361F5C | RGB: rgb(54, 31, 92) | CMYK: 41%, 66%, 0%, 64% | HSV: 263°, 66%, 36%. Copy any format from the conversion table above.
What colors go well with #361F5C?
The complementary color is HSL(83, 50%, 24%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 50%, 24%) in CSS?
As HSL: color: hsl(263, 50%, 24%); — As HEX: color: #361F5C; — As RGB: color: rgb(54, 31, 92); — Tailwind CSS: bg-[hsl(263,50%,24%)] — CSS variable: --color-primary: hsl(263, 50%, 24%);