HSL(270, 25%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,25%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 25%, 70%) | color: hsl(270, 25%, 70%) | |
| HEX | #B39FC6 | color: #B39FC6 | |
| RGB | rgb(179, 159, 198) | color: rgb(179, 159, 198) | |
| CMYK | cmyk(10%, 20%, 0%, 22%) | — | |
| HSV | hsv(271, 20%, 78%) | — | |
| HWB | hwb(271 62% 22%) | color: hwb(271 62% 22%) | |
| OKLCH | oklch(0.7329 0.0596 308.11) | color: oklch(0.7329 0.0596 308.11) | |
| Lab | lab(68.36 14.74 -17.3) | color: lab(68.36 14.74 -17.3) | |
| LCH | lch(68.36 22.73 310.43) | color: lch(68.36 22.73 310.43) |
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)
#AAAABD — rgb(170, 170, 189)
Deuteranopia (Green-blind)
#ACADBA — rgb(172, 173, 186)
Tritanopia (Blue-blind)
#B2B5B3 — rgb(178, 181, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 25%, 70%);
text
color: hsl(270, 25%, 70%);
border
border: 2px solid hsl(270, 25%, 70%);
gradient light
background: linear-gradient(to right, hsl(270, 25%, 90%), hsl(270, 25%, 70%));
gradient dark
background: linear-gradient(to right, hsl(270, 25%, 70%), hsl(270, 25%, 50%))
hex
background-color: #B39FC6;
tailwind
bg-[hsl(270,25%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 25%, 70%, 0.4);
css variable
--color-primary: hsl(270, 25%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 25%, 70%)?
HEX: #B39FC6 | RGB: rgb(179, 159, 198) | CMYK: 10%, 20%, 0%, 22% | HSV: 271°, 20%, 78%. Copy any format from the conversion table above.
What colors go well with #B39FC6?
The complementary color is HSL(90, 25%, 70%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 25%, 70%) in CSS?
As HSL: color: hsl(270, 25%, 70%); — As HEX: color: #B39FC6; — As RGB: color: rgb(179, 159, 198); — Tailwind CSS: bg-[hsl(270,25%,70%)] — CSS variable: --color-primary: hsl(270, 25%, 70%);