HSL(278, 40%, 13%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,40%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 40%, 13%) | color: hsl(278, 40%, 13%) | |
| HEX | #25142E | color: #25142E | |
| RGB | rgb(37, 20, 46) | color: rgb(37, 20, 46) | |
| CMYK | cmyk(20%, 57%, 0%, 82%) | — | |
| HSV | hsv(279, 57%, 18%) | — | |
| HWB | hwb(279 8% 82%) | color: hwb(279 8% 82%) | |
| OKLCH | oklch(0.2278 0.0535 312.96) | color: oklch(0.2278 0.0535 312.96) | |
| Lab | lab(9.73 14.7 -14.08) | color: lab(9.73 14.7 -14.08) | |
| LCH | lch(9.73 20.36 316.23) | color: lch(9.73 20.36 316.23) |
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)
#1E1D28 — rgb(30, 29, 40)
Deuteranopia (Green-blind)
#1F2026 — rgb(31, 32, 38)
Tritanopia (Blue-blind)
#242322 — rgb(36, 35, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 40%, 13%);
text
color: hsl(278, 40%, 13%);
border
border: 2px solid hsl(278, 40%, 13%);
gradient light
background: linear-gradient(to right, hsl(278, 40%, 33%), hsl(278, 40%, 13%));
gradient dark
background: linear-gradient(to right, hsl(278, 40%, 13%), hsl(278, 40%, 0%))
hex
background-color: #25142E;
tailwind
bg-[hsl(278,40%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 40%, 13%, 0.4);
css variable
--color-primary: hsl(278, 40%, 13%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 40%, 13%)?
HEX: #25142E | RGB: rgb(37, 20, 46) | CMYK: 20%, 57%, 0%, 82% | HSV: 279°, 57%, 18%. Copy any format from the conversion table above.
What colors go well with #25142E?
The complementary color is HSL(98, 40%, 13%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 40%, 13%) in CSS?
As HSL: color: hsl(278, 40%, 13%); — As HEX: color: #25142E; — As RGB: color: rgb(37, 20, 46); — Tailwind CSS: bg-[hsl(278,40%,13%)] — CSS variable: --color-primary: hsl(278, 40%, 13%);