HSL(283, 80%, 7%)
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(283,80%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 80%, 7%) | color: hsl(283, 80%, 7%) | |
| HEX | #180420 | color: #180420 | |
| RGB | rgb(24, 4, 32) | color: rgb(24, 4, 32) | |
| CMYK | cmyk(25%, 88%, 0%, 87%) | — | |
| HSV | hsv(283, 88%, 13%) | — | |
| HWB | hwb(283 2% 87%) | color: hwb(283 2% 87%) | |
| OKLCH | oklch(0.1647 0.0623 315.38) | color: oklch(0.1647 0.0623 315.38) | |
| Lab | lab(3.48 12.88 -13.32) | color: lab(3.48 12.88 -13.32) | |
| LCH | lch(3.48 18.53 314.04) | color: lch(3.48 18.53 314.04) |
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)
#0F0F19 — rgb(15, 15, 25)
Deuteranopia (Green-blind)
#111218 — rgb(17, 18, 24)
Tritanopia (Blue-blind)
#171413 — rgb(23, 20, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 80%, 7%);
text
color: hsl(283, 80%, 7%);
border
border: 2px solid hsl(283, 80%, 7%);
gradient light
background: linear-gradient(to right, hsl(283, 80%, 27%), hsl(283, 80%, 7%));
gradient dark
background: linear-gradient(to right, hsl(283, 80%, 7%), hsl(283, 80%, 0%))
hex
background-color: #180420;
tailwind
bg-[hsl(283,80%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 80%, 7%, 0.4);
css variable
--color-primary: hsl(283, 80%, 7%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 80%, 7%)?
HEX: #180420 | RGB: rgb(24, 4, 32) | CMYK: 25%, 88%, 0%, 87% | HSV: 283°, 88%, 13%. Copy any format from the conversion table above.
What colors go well with #180420?
The complementary color is HSL(103, 80%, 7%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 80%, 7%) in CSS?
As HSL: color: hsl(283, 80%, 7%); — As HEX: color: #180420; — As RGB: color: rgb(24, 4, 32); — Tailwind CSS: bg-[hsl(283,80%,7%)] — CSS variable: --color-primary: hsl(283, 80%, 7%);