HSL(263, 28%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,28%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 28%, 34%) | color: hsl(263, 28%, 34%) | |
| HEX | #513E6F | color: #513E6F | |
| RGB | rgb(81, 62, 111) | color: rgb(81, 62, 111) | |
| CMYK | cmyk(27%, 44%, 0%, 56%) | — | |
| HSV | hsv(263, 44%, 44%) | — | |
| HWB | hwb(263 25% 56%) | color: hwb(263 25% 56%) | |
| OKLCH | oklch(0.4067 0.0825 300.67) | color: oklch(0.4067 0.0825 300.67) | |
| Lab | lab(30.26 19.58 -25.43) | color: lab(30.26 19.58 -25.43) | |
| LCH | lch(30.26 32.09 307.59) | color: lch(30.26 32.09 307.59) |
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)
#494963 — rgb(73, 73, 99)
Deuteranopia (Green-blind)
#4A4B60 — rgb(74, 75, 96)
Tritanopia (Blue-blind)
#505A58 — rgb(80, 90, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 28%, 34%);
text
color: hsl(263, 28%, 34%);
border
border: 2px solid hsl(263, 28%, 34%);
gradient light
background: linear-gradient(to right, hsl(263, 28%, 54%), hsl(263, 28%, 34%));
gradient dark
background: linear-gradient(to right, hsl(263, 28%, 34%), hsl(263, 28%, 14%))
hex
background-color: #513E6F;
tailwind
bg-[hsl(263,28%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 28%, 34%, 0.4);
css variable
--color-primary: hsl(263, 28%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 28%, 34%)?
HEX: #513E6F | RGB: rgb(81, 62, 111) | CMYK: 27%, 44%, 0%, 56% | HSV: 263°, 44%, 44%. Copy any format from the conversion table above.
What colors go well with #513E6F?
The complementary color is HSL(83, 28%, 34%). 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, 28%, 34%) in CSS?
As HSL: color: hsl(263, 28%, 34%); — As HEX: color: #513E6F; — As RGB: color: rgb(81, 62, 111); — Tailwind CSS: bg-[hsl(263,28%,34%)] — CSS variable: --color-primary: hsl(263, 28%, 34%);