HSL(271, 80%, 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(271,80%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 80%, 13%) | color: hsl(271, 80%, 13%) | |
| HEX | #22073C | color: #22073C | |
| RGB | rgb(34, 7, 60) | color: rgb(34, 7, 60) | |
| CMYK | cmyk(43%, 88%, 0%, 76%) | — | |
| HSV | hsv(271, 88%, 24%) | — | |
| HWB | hwb(271 3% 76%) | color: hwb(271 3% 76%) | |
| OKLCH | oklch(0.2133 0.0944 301.95) | color: oklch(0.2133 0.0944 301.95) | |
| Lab | lab(7.39 26 -28.04) | color: lab(7.39 26 -28.04) | |
| LCH | lch(7.39 38.24 312.84) | color: lch(7.39 38.24 312.84) |
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)
#16162F — rgb(22, 22, 47)
Deuteranopia (Green-blind)
#181A2C — rgb(24, 26, 44)
Tritanopia (Blue-blind)
#212523 — rgb(33, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 80%, 13%);
text
color: hsl(271, 80%, 13%);
border
border: 2px solid hsl(271, 80%, 13%);
gradient light
background: linear-gradient(to right, hsl(271, 80%, 33%), hsl(271, 80%, 13%));
gradient dark
background: linear-gradient(to right, hsl(271, 80%, 13%), hsl(271, 80%, 0%))
hex
background-color: #22073C;
tailwind
bg-[hsl(271,80%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 80%, 13%, 0.4);
css variable
--color-primary: hsl(271, 80%, 13%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 80%, 13%)?
HEX: #22073C | RGB: rgb(34, 7, 60) | CMYK: 43%, 88%, 0%, 76% | HSV: 271°, 88%, 24%. Copy any format from the conversion table above.
What colors go well with #22073C?
The complementary color is HSL(91, 80%, 13%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 80%, 13%) in CSS?
As HSL: color: hsl(271, 80%, 13%); — As HEX: color: #22073C; — As RGB: color: rgb(34, 7, 60); — Tailwind CSS: bg-[hsl(271,80%,13%)] — CSS variable: --color-primary: hsl(271, 80%, 13%);