HSL(257, 30%, 47%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,30%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 30%, 47%) | color: hsl(257, 30%, 47%) | |
| HEX | #68549C | color: #68549C | |
| RGB | rgb(104, 84, 156) | color: rgb(104, 84, 156) | |
| CMYK | cmyk(33%, 46%, 0%, 39%) | — | |
| HSV | hsv(257, 46%, 61%) | — | |
| HWB | hwb(257 33% 39%) | color: hwb(257 33% 39%) | |
| OKLCH | oklch(0.499 0.1129 294.77) | color: oklch(0.499 0.1129 294.77) | |
| Lab | lab(40.71 25.03 -36.46) | color: lab(40.71 25.03 -36.46) | |
| LCH | lch(40.71 44.22 304.47) | color: lch(40.71 44.22 304.47) |
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)
#5F5F8B — rgb(95, 95, 139)
Deuteranopia (Green-blind)
#616286 — rgb(97, 98, 134)
Tritanopia (Blue-blind)
#677D7A — rgb(103, 125, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 30%, 47%);
text
color: hsl(257, 30%, 47%);
border
border: 2px solid hsl(257, 30%, 47%);
gradient light
background: linear-gradient(to right, hsl(257, 30%, 67%), hsl(257, 30%, 47%));
gradient dark
background: linear-gradient(to right, hsl(257, 30%, 47%), hsl(257, 30%, 27%))
hex
background-color: #68549C;
tailwind
bg-[hsl(257,30%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 30%, 47%, 0.4);
css variable
--color-primary: hsl(257, 30%, 47%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 30%, 47%)?
HEX: #68549C | RGB: rgb(104, 84, 156) | CMYK: 33%, 46%, 0%, 39% | HSV: 257°, 46%, 61%. Copy any format from the conversion table above.
What colors go well with #68549C?
The complementary color is HSL(77, 30%, 47%). 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, 30%, 47%) in CSS?
As HSL: color: hsl(257, 30%, 47%); — As HEX: color: #68549C; — As RGB: color: rgb(104, 84, 156); — Tailwind CSS: bg-[hsl(257,30%,47%)] — CSS variable: --color-primary: hsl(257, 30%, 47%);