HSL(257, 26%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,26%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 26%, 64%) | color: hsl(257, 26%, 64%) | |
| HEX | #998BBB | color: #998BBB | |
| RGB | rgb(153, 139, 187) | color: rgb(153, 139, 187) | |
| CMYK | cmyk(18%, 26%, 0%, 27%) | — | |
| HSV | hsv(258, 26%, 73%) | — | |
| HWB | hwb(258 54% 27%) | color: hwb(258 54% 27%) | |
| OKLCH | oklch(0.6664 0.0717 297.8) | color: oklch(0.6664 0.0717 297.8) | |
| Lab | lab(60.63 15.13 -23.12) | color: lab(60.63 15.13 -23.12) | |
| LCH | lch(60.63 27.63 303.2) | color: lch(60.63 27.63 303.2) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#9393AF — rgb(147, 147, 175)
Deuteranopia (Green-blind)
#9495AD — rgb(148, 149, 173)
Tritanopia (Blue-blind)
#98A6A4 — rgb(152, 166, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 26%, 64%);
text
color: hsl(257, 26%, 64%);
border
border: 2px solid hsl(257, 26%, 64%);
gradient light
background: linear-gradient(to right, hsl(257, 26%, 84%), hsl(257, 26%, 64%));
gradient dark
background: linear-gradient(to right, hsl(257, 26%, 64%), hsl(257, 26%, 44%))
hex
background-color: #998BBB;
tailwind
bg-[hsl(257,26%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 26%, 64%, 0.4);
css variable
--color-primary: hsl(257, 26%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 26%, 64%)?
HEX: #998BBB | RGB: rgb(153, 139, 187) | CMYK: 18%, 26%, 0%, 27% | HSV: 258°, 26%, 73%. Copy any format from the conversion table above.
What colors go well with #998BBB?
The complementary color is HSL(77, 26%, 64%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 26%, 64%) in CSS?
As HSL: color: hsl(257, 26%, 64%); — As HEX: color: #998BBB; — As RGB: color: rgb(153, 139, 187); — Tailwind CSS: bg-[hsl(257,26%,64%)] — CSS variable: --color-primary: hsl(257, 26%, 64%);