HSL(262, 16%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(262,16%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 16%, 15%) | color: hsl(262, 16%, 15%) | |
| HEX | #25202C | color: #25202C | |
| RGB | rgb(37, 32, 44) | color: rgb(37, 32, 44) | |
| CMYK | cmyk(16%, 27%, 0%, 83%) | — | |
| HSV | hsv(265, 27%, 17%) | — | |
| HWB | hwb(265 12% 83%) | color: hwb(265 12% 83%) | |
| OKLCH | oklch(0.2545 0.0233 303.77) | color: oklch(0.2545 0.0233 303.77) | |
| Lab | lab(13.28 5.42 -7.12) | color: lab(13.28 5.42 -7.12) | |
| LCH | lch(13.28 8.95 307.28) | color: lch(13.28 8.95 307.28) |
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)
#232329 — rgb(35, 35, 41)
Deuteranopia (Green-blind)
#232428 — rgb(35, 36, 40)
Tritanopia (Blue-blind)
#252726 — rgb(37, 39, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 16%, 15%);
text
color: hsl(262, 16%, 15%);
border
border: 2px solid hsl(262, 16%, 15%);
gradient light
background: linear-gradient(to right, hsl(262, 16%, 35%), hsl(262, 16%, 15%));
gradient dark
background: linear-gradient(to right, hsl(262, 16%, 15%), hsl(262, 16%, 0%))
hex
background-color: #25202C;
tailwind
bg-[hsl(262,16%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 16%, 15%, 0.4);
css variable
--color-primary: hsl(262, 16%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 16%, 15%)?
HEX: #25202C | RGB: rgb(37, 32, 44) | CMYK: 16%, 27%, 0%, 83% | HSV: 265°, 27%, 17%. Copy any format from the conversion table above.
What colors go well with #25202C?
The complementary color is HSL(82, 16%, 15%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 16%, 15%) in CSS?
As HSL: color: hsl(262, 16%, 15%); — As HEX: color: #25202C; — As RGB: color: rgb(37, 32, 44); — Tailwind CSS: bg-[hsl(262,16%,15%)] — CSS variable: --color-primary: hsl(262, 16%, 15%);