HSL(263, 48%, 28%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,48%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 48%, 28%) | color: hsl(263, 48%, 28%) | |
| HEX | #3F256A | color: #3F256A | |
| RGB | rgb(63, 37, 106) | color: rgb(63, 37, 106) | |
| CMYK | cmyk(41%, 65%, 0%, 58%) | — | |
| HSV | hsv(263, 65%, 42%) | — | |
| HWB | hwb(263 15% 58%) | color: hwb(263 15% 58%) | |
| OKLCH | oklch(0.337 0.1153 297.15) | color: oklch(0.337 0.1153 297.15) | |
| Lab | lab(21.65 28.87 -36.06) | color: lab(21.65 28.87 -36.06) | |
| LCH | lch(21.65 46.19 308.68) | color: lch(21.65 46.19 308.68) |
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)
#343459 — rgb(52, 52, 89)
Deuteranopia (Green-blind)
#353755 — rgb(53, 55, 85)
Tritanopia (Blue-blind)
#3E4C49 — rgb(62, 76, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 48%, 28%);
text
color: hsl(263, 48%, 28%);
border
border: 2px solid hsl(263, 48%, 28%);
gradient light
background: linear-gradient(to right, hsl(263, 48%, 48%), hsl(263, 48%, 28%));
gradient dark
background: linear-gradient(to right, hsl(263, 48%, 28%), hsl(263, 48%, 8%))
hex
background-color: #3F256A;
tailwind
bg-[hsl(263,48%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 48%, 28%, 0.4);
css variable
--color-primary: hsl(263, 48%, 28%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 48%, 28%)?
HEX: #3F256A | RGB: rgb(63, 37, 106) | CMYK: 41%, 65%, 0%, 58% | HSV: 263°, 65%, 42%. Copy any format from the conversion table above.
What colors go well with #3F256A?
The complementary color is HSL(83, 48%, 28%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 48%, 28%) in CSS?
As HSL: color: hsl(263, 48%, 28%); — As HEX: color: #3F256A; — As RGB: color: rgb(63, 37, 106); — Tailwind CSS: bg-[hsl(263,48%,28%)] — CSS variable: --color-primary: hsl(263, 48%, 28%);