HSL(263, 46%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,46%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 46%, 23%) | color: hsl(263, 46%, 23%) | |
| HEX | #342056 | color: #342056 | |
| RGB | rgb(52, 32, 86) | color: rgb(52, 32, 86) | |
| CMYK | cmyk(40%, 63%, 0%, 66%) | — | |
| HSV | hsv(262, 63%, 34%) | — | |
| HWB | hwb(262 13% 66%) | color: hwb(262 13% 66%) | |
| OKLCH | oklch(0.2996 0.0941 297.5) | color: oklch(0.2996 0.0941 297.5) | |
| Lab | lab(17.62 23.18 -29.42) | color: lab(17.62 23.18 -29.42) | |
| LCH | lch(17.62 37.45 308.23) | color: lch(17.62 37.45 308.23) |
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)
#2B2B49 — rgb(43, 43, 73)
Deuteranopia (Green-blind)
#2D2E46 — rgb(45, 46, 70)
Tritanopia (Blue-blind)
#333F3C — rgb(51, 63, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 46%, 23%);
text
color: hsl(263, 46%, 23%);
border
border: 2px solid hsl(263, 46%, 23%);
gradient light
background: linear-gradient(to right, hsl(263, 46%, 43%), hsl(263, 46%, 23%));
gradient dark
background: linear-gradient(to right, hsl(263, 46%, 23%), hsl(263, 46%, 3%))
hex
background-color: #342056;
tailwind
bg-[hsl(263,46%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 46%, 23%, 0.4);
css variable
--color-primary: hsl(263, 46%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 46%, 23%)?
HEX: #342056 | RGB: rgb(52, 32, 86) | CMYK: 40%, 63%, 0%, 66% | HSV: 262°, 63%, 34%. Copy any format from the conversion table above.
What colors go well with #342056?
The complementary color is HSL(83, 46%, 23%). 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, 46%, 23%) in CSS?
As HSL: color: hsl(263, 46%, 23%); — As HEX: color: #342056; — As RGB: color: rgb(52, 32, 86); — Tailwind CSS: bg-[hsl(263,46%,23%)] — CSS variable: --color-primary: hsl(263, 46%, 23%);