HSL(263, 40%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,40%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 40%, 34%) | color: hsl(263, 40%, 34%) | |
| HEX | #4F3479 | color: #4F3479 | |
| RGB | rgb(79, 52, 121) | color: rgb(79, 52, 121) | |
| CMYK | cmyk(35%, 57%, 0%, 53%) | — | |
| HSV | hsv(263, 57%, 47%) | — | |
| HWB | hwb(263 20% 53%) | color: hwb(263 20% 53%) | |
| OKLCH | oklch(0.392 0.1139 299.14) | color: oklch(0.392 0.1139 299.14) | |
| Lab | lab(28.11 28.1 -35.18) | color: lab(28.11 28.1 -35.18) | |
| LCH | lch(28.11 45.02 308.62) | color: lch(28.11 45.02 308.62) |
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)
#434368 — rgb(67, 67, 104)
Deuteranopia (Green-blind)
#454764 — rgb(69, 71, 100)
Tritanopia (Blue-blind)
#4E5B58 — rgb(78, 91, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 40%, 34%);
text
color: hsl(263, 40%, 34%);
border
border: 2px solid hsl(263, 40%, 34%);
gradient light
background: linear-gradient(to right, hsl(263, 40%, 54%), hsl(263, 40%, 34%));
gradient dark
background: linear-gradient(to right, hsl(263, 40%, 34%), hsl(263, 40%, 14%))
hex
background-color: #4F3479;
tailwind
bg-[hsl(263,40%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 40%, 34%, 0.4);
css variable
--color-primary: hsl(263, 40%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 40%, 34%)?
HEX: #4F3479 | RGB: rgb(79, 52, 121) | CMYK: 35%, 57%, 0%, 53% | HSV: 263°, 57%, 47%. Copy any format from the conversion table above.
What colors go well with #4F3479?
The complementary color is HSL(83, 40%, 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, 40%, 34%) in CSS?
As HSL: color: hsl(263, 40%, 34%); — As HEX: color: #4F3479; — As RGB: color: rgb(79, 52, 121); — Tailwind CSS: bg-[hsl(263,40%,34%)] — CSS variable: --color-primary: hsl(263, 40%, 34%);