HSL(265, 20%, 40%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(265,20%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 20%, 40%) | color: hsl(265, 20%, 40%) | |
| HEX | #63527A | color: #63527A | |
| RGB | rgb(99, 82, 122) | color: rgb(99, 82, 122) | |
| CMYK | cmyk(19%, 33%, 0%, 52%) | — | |
| HSV | hsv(266, 33%, 48%) | — | |
| HWB | hwb(266 32% 52%) | color: hwb(266 32% 52%) | |
| OKLCH | oklch(0.4718 0.0663 303.45) | color: oklch(0.4718 0.0663 303.45) | |
| Lab | lab(38.01 15.76 -20.08) | color: lab(38.01 15.76 -20.08) | |
| LCH | lch(38.01 25.53 308.13) | color: lch(38.01 25.53 308.13) |
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)
#5C5B70 — rgb(92, 91, 112)
Deuteranopia (Green-blind)
#5D5E6E — rgb(93, 94, 110)
Tritanopia (Blue-blind)
#626967 — rgb(98, 105, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 20%, 40%);
text
color: hsl(265, 20%, 40%);
border
border: 2px solid hsl(265, 20%, 40%);
gradient light
background: linear-gradient(to right, hsl(265, 20%, 60%), hsl(265, 20%, 40%));
gradient dark
background: linear-gradient(to right, hsl(265, 20%, 40%), hsl(265, 20%, 20%))
hex
background-color: #63527A;
tailwind
bg-[hsl(265,20%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 20%, 40%, 0.4);
css variable
--color-primary: hsl(265, 20%, 40%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(265, 20%, 40%)?
HEX: #63527A | RGB: rgb(99, 82, 122) | CMYK: 19%, 33%, 0%, 52% | HSV: 266°, 33%, 48%. Copy any format from the conversion table above.
What colors go well with #63527A?
The complementary color is HSL(85, 20%, 40%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 20%, 40%) in CSS?
As HSL: color: hsl(265, 20%, 40%); — As HEX: color: #63527A; — As RGB: color: rgb(99, 82, 122); — Tailwind CSS: bg-[hsl(265,20%,40%)] — CSS variable: --color-primary: hsl(265, 20%, 40%);