HSL(264, 12%, 15%)
Grayish Indigo — Indigo color
Adjust Color
Color Information
Color Name
Grayish Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(264,12%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 12%, 15%) | color: hsl(264, 12%, 15%) | |
| HEX | #25222B | color: #25222B | |
| RGB | rgb(37, 34, 43) | color: rgb(37, 34, 43) | |
| CMYK | cmyk(14%, 21%, 0%, 83%) | — | |
| HSV | hsv(260, 21%, 17%) | — | |
| HWB | hwb(260 13% 83%) | color: hwb(260 13% 83%) | |
| OKLCH | oklch(0.2591 0.0172 300.42) | color: oklch(0.2591 0.0172 300.42) | |
| Lab | lab(13.9 3.69 -5.47) | color: lab(13.9 3.69 -5.47) | |
| LCH | lch(13.9 6.6 304) | color: lch(13.9 6.6 304) |
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)
#242429 — rgb(36, 36, 41)
Deuteranopia (Green-blind)
#242428 — rgb(36, 36, 40)
Tritanopia (Blue-blind)
#252727 — rgb(37, 39, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 12%, 15%);
text
color: hsl(264, 12%, 15%);
border
border: 2px solid hsl(264, 12%, 15%);
gradient light
background: linear-gradient(to right, hsl(264, 12%, 35%), hsl(264, 12%, 15%));
gradient dark
background: linear-gradient(to right, hsl(264, 12%, 15%), hsl(264, 12%, 0%))
hex
background-color: #25222B;
tailwind
bg-[hsl(264,12%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 12%, 15%, 0.4);
css variable
--color-primary: hsl(264, 12%, 15%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 12%, 15%)?
HEX: #25222B | RGB: rgb(37, 34, 43) | CMYK: 14%, 21%, 0%, 83% | HSV: 260°, 21%, 17%. Copy any format from the conversion table above.
What colors go well with #25222B?
The complementary color is HSL(84, 12%, 15%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 12%, 15%) in CSS?
As HSL: color: hsl(264, 12%, 15%); — As HEX: color: #25222B; — As RGB: color: rgb(37, 34, 43); — Tailwind CSS: bg-[hsl(264,12%,15%)] — CSS variable: --color-primary: hsl(264, 12%, 15%);