HSL(263, 85%, 22%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,85%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 85%, 22%) | color: hsl(263, 85%, 22%) | |
| HEX | #2D0868 | color: #2D0868 | |
| RGB | rgb(45, 8, 104) | color: rgb(45, 8, 104) | |
| CMYK | cmyk(57%, 92%, 0%, 59%) | — | |
| HSV | hsv(263, 92%, 41%) | — | |
| HWB | hwb(263 3% 59%) | color: hwb(263 3% 59%) | |
| OKLCH | oklch(0.2772 0.1453 290.46) | color: oklch(0.2772 0.1453 290.46) | |
| Lab | lab(14.01 39.61 -47.34) | color: lab(14.01 39.61 -47.34) | |
| LCH | lch(14.01 61.73 309.92) | color: lch(14.01 61.73 309.92) |
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)
#1D1D51 — rgb(29, 29, 81)
Deuteranopia (Green-blind)
#1F224B — rgb(31, 34, 75)
Tritanopia (Blue-blind)
#2B3E3A — rgb(43, 62, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 85%, 22%);
text
color: hsl(263, 85%, 22%);
border
border: 2px solid hsl(263, 85%, 22%);
gradient light
background: linear-gradient(to right, hsl(263, 85%, 42%), hsl(263, 85%, 22%));
gradient dark
background: linear-gradient(to right, hsl(263, 85%, 22%), hsl(263, 85%, 2%))
hex
background-color: #2D0868;
tailwind
bg-[hsl(263,85%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 85%, 22%, 0.4);
css variable
--color-primary: hsl(263, 85%, 22%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 85%, 22%)?
HEX: #2D0868 | RGB: rgb(45, 8, 104) | CMYK: 57%, 92%, 0%, 59% | HSV: 263°, 92%, 41%. Copy any format from the conversion table above.
What colors go well with #2D0868?
The complementary color is HSL(83, 85%, 22%). 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, 85%, 22%) in CSS?
As HSL: color: hsl(263, 85%, 22%); — As HEX: color: #2D0868; — As RGB: color: rgb(45, 8, 104); — Tailwind CSS: bg-[hsl(263,85%,22%)] — CSS variable: --color-primary: hsl(263, 85%, 22%);