HSL(262, 16%, 40%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(262,16%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 16%, 40%) | color: hsl(262, 16%, 40%) | |
| HEX | #625676 | color: #625676 | |
| RGB | rgb(98, 86, 118) | color: rgb(98, 86, 118) | |
| CMYK | cmyk(17%, 27%, 0%, 54%) | — | |
| HSV | hsv(263, 27%, 46%) | — | |
| HWB | hwb(263 34% 54%) | color: hwb(263 34% 54%) | |
| OKLCH | oklch(0.4773 0.0526 301.61) | color: oklch(0.4773 0.0526 301.61) | |
| Lab | lab(38.83 11.92 -16.36) | color: lab(38.83 11.92 -16.36) | |
| LCH | lch(38.83 20.24 306.08) | color: lch(38.83 20.24 306.08) |
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)
#5D5D6E — rgb(93, 93, 110)
Deuteranopia (Green-blind)
#5E5E6C — rgb(94, 94, 108)
Tritanopia (Blue-blind)
#616867 — rgb(97, 104, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 16%, 40%);
text
color: hsl(262, 16%, 40%);
border
border: 2px solid hsl(262, 16%, 40%);
gradient light
background: linear-gradient(to right, hsl(262, 16%, 60%), hsl(262, 16%, 40%));
gradient dark
background: linear-gradient(to right, hsl(262, 16%, 40%), hsl(262, 16%, 20%))
hex
background-color: #625676;
tailwind
bg-[hsl(262,16%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 16%, 40%, 0.4);
css variable
--color-primary: hsl(262, 16%, 40%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 16%, 40%)?
HEX: #625676 | RGB: rgb(98, 86, 118) | CMYK: 17%, 27%, 0%, 54% | HSV: 263°, 27%, 46%. Copy any format from the conversion table above.
What colors go well with #625676?
The complementary color is HSL(82, 16%, 40%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 16%, 40%) in CSS?
As HSL: color: hsl(262, 16%, 40%); — As HEX: color: #625676; — As RGB: color: rgb(98, 86, 118); — Tailwind CSS: bg-[hsl(262,16%,40%)] — CSS variable: --color-primary: hsl(262, 16%, 40%);