HSL(263, 40%, 27%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,40%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 40%, 27%) | color: hsl(263, 40%, 27%) | |
| HEX | #3E2960 | color: #3E2960 | |
| RGB | rgb(62, 41, 96) | color: rgb(62, 41, 96) | |
| CMYK | cmyk(35%, 57%, 0%, 62%) | — | |
| HSV | hsv(263, 57%, 38%) | — | |
| HWB | hwb(263 16% 62%) | color: hwb(263 16% 62%) | |
| OKLCH | oklch(0.3353 0.0946 298.83) | color: oklch(0.3353 0.0946 298.83) | |
| Lab | lab(21.78 23.13 -29.33) | color: lab(21.78 23.13 -29.33) | |
| LCH | lch(21.78 37.35 308.26) | color: lch(21.78 37.35 308.26) |
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)
#353553 — rgb(53, 53, 83)
Deuteranopia (Green-blind)
#363850 — rgb(54, 56, 80)
Tritanopia (Blue-blind)
#3D4846 — rgb(61, 72, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 40%, 27%);
text
color: hsl(263, 40%, 27%);
border
border: 2px solid hsl(263, 40%, 27%);
gradient light
background: linear-gradient(to right, hsl(263, 40%, 47%), hsl(263, 40%, 27%));
gradient dark
background: linear-gradient(to right, hsl(263, 40%, 27%), hsl(263, 40%, 7%))
hex
background-color: #3E2960;
tailwind
bg-[hsl(263,40%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 40%, 27%, 0.4);
css variable
--color-primary: hsl(263, 40%, 27%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 40%, 27%)?
HEX: #3E2960 | RGB: rgb(62, 41, 96) | CMYK: 35%, 57%, 0%, 62% | HSV: 263°, 57%, 38%. Copy any format from the conversion table above.
What colors go well with #3E2960?
The complementary color is HSL(83, 40%, 27%). 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, 40%, 27%) in CSS?
As HSL: color: hsl(263, 40%, 27%); — As HEX: color: #3E2960; — As RGB: color: rgb(62, 41, 96); — Tailwind CSS: bg-[hsl(263,40%,27%)] — CSS variable: --color-primary: hsl(263, 40%, 27%);