HSL(263, 35%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,35%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 35%, 15%) | color: hsl(263, 35%, 15%) | |
| HEX | #231934 | color: #231934 | |
| RGB | rgb(35, 25, 52) | color: rgb(35, 25, 52) | |
| CMYK | cmyk(33%, 52%, 0%, 80%) | — | |
| HSV | hsv(262, 52%, 20%) | — | |
| HWB | hwb(262 10% 80%) | color: hwb(262 10% 80%) | |
| OKLCH | oklch(0.2401 0.0516 299.6) | color: oklch(0.2401 0.0516 299.6) | |
| Lab | lab(11.28 12.16 -16.02) | color: lab(11.28 12.16 -16.02) | |
| LCH | lch(11.28 20.11 307.2) | color: lch(11.28 20.11 307.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#1F1F2D — rgb(31, 31, 45)
Deuteranopia (Green-blind)
#1F202C — rgb(31, 32, 44)
Tritanopia (Blue-blind)
#232827 — rgb(35, 40, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 35%, 15%);
text
color: hsl(263, 35%, 15%);
border
border: 2px solid hsl(263, 35%, 15%);
gradient light
background: linear-gradient(to right, hsl(263, 35%, 35%), hsl(263, 35%, 15%));
gradient dark
background: linear-gradient(to right, hsl(263, 35%, 15%), hsl(263, 35%, 0%))
hex
background-color: #231934;
tailwind
bg-[hsl(263,35%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 35%, 15%, 0.4);
css variable
--color-primary: hsl(263, 35%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 35%, 15%)?
HEX: #231934 | RGB: rgb(35, 25, 52) | CMYK: 33%, 52%, 0%, 80% | HSV: 262°, 52%, 20%. Copy any format from the conversion table above.
What colors go well with #231934?
The complementary color is HSL(83, 35%, 15%). 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, 35%, 15%) in CSS?
As HSL: color: hsl(263, 35%, 15%); — As HEX: color: #231934; — As RGB: color: rgb(35, 25, 52); — Tailwind CSS: bg-[hsl(263,35%,15%)] — CSS variable: --color-primary: hsl(263, 35%, 15%);