HSL(267, 94%, 9%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,94%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 94%, 9%) | color: hsl(267, 94%, 9%) | |
| HEX | #15012D | color: #15012D | |
| RGB | rgb(21, 1, 45) | color: rgb(21, 1, 45) | |
| CMYK | cmyk(53%, 98%, 0%, 82%) | — | |
| HSV | hsv(267, 98%, 18%) | — | |
| HWB | hwb(267 0% 82%) | color: hwb(267 0% 82%) | |
| OKLCH | oklch(0.1661 0.0851 298.99) | color: oklch(0.1661 0.0851 298.99) | |
| Lab | lab(3.35 18.08 -23.58) | color: lab(3.35 18.08 -23.58) | |
| LCH | lch(3.35 29.71 307.48) | color: lch(3.35 29.71 307.48) |
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)
#0C0C22 — rgb(12, 12, 34)
Deuteranopia (Green-blind)
#0E0F20 — rgb(14, 15, 32)
Tritanopia (Blue-blind)
#141A18 — rgb(20, 26, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 94%, 9%);
text
color: hsl(267, 94%, 9%);
border
border: 2px solid hsl(267, 94%, 9%);
gradient light
background: linear-gradient(to right, hsl(267, 94%, 29%), hsl(267, 94%, 9%));
gradient dark
background: linear-gradient(to right, hsl(267, 94%, 9%), hsl(267, 94%, 0%))
hex
background-color: #15012D;
tailwind
bg-[hsl(267,94%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 94%, 9%, 0.4);
css variable
--color-primary: hsl(267, 94%, 9%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 94%, 9%)?
HEX: #15012D | RGB: rgb(21, 1, 45) | CMYK: 53%, 98%, 0%, 82% | HSV: 267°, 98%, 18%. Copy any format from the conversion table above.
What colors go well with #15012D?
The complementary color is HSL(87, 94%, 9%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 94%, 9%) in CSS?
As HSL: color: hsl(267, 94%, 9%); — As HEX: color: #15012D; — As RGB: color: rgb(21, 1, 45); — Tailwind CSS: bg-[hsl(267,94%,9%)] — CSS variable: --color-primary: hsl(267, 94%, 9%);