HSL(282, 72%, 10%)
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(282,72%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 72%, 10%) | color: hsl(282, 72%, 10%) | |
| HEX | #21072C | color: #21072C | |
| RGB | rgb(33, 7, 44) | color: rgb(33, 7, 44) | |
| CMYK | cmyk(25%, 84%, 0%, 83%) | — | |
| HSV | hsv(282, 84%, 17%) | — | |
| HWB | hwb(282 3% 83%) | color: hwb(282 3% 83%) | |
| OKLCH | oklch(0.1967 0.0745 314.11) | color: oklch(0.1967 0.0745 314.11) | |
| Lab | lab(5.94 20.49 -18.63) | color: lab(5.94 20.49 -18.63) | |
| LCH | lch(5.94 27.69 317.72) | color: lch(5.94 27.69 317.72) |
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)
#161623 — rgb(22, 22, 35)
Deuteranopia (Green-blind)
#171921 — rgb(23, 25, 33)
Tritanopia (Blue-blind)
#201C1A — rgb(32, 28, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 72%, 10%);
text
color: hsl(282, 72%, 10%);
border
border: 2px solid hsl(282, 72%, 10%);
gradient light
background: linear-gradient(to right, hsl(282, 72%, 30%), hsl(282, 72%, 10%));
gradient dark
background: linear-gradient(to right, hsl(282, 72%, 10%), hsl(282, 72%, 0%))
hex
background-color: #21072C;
tailwind
bg-[hsl(282,72%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 72%, 10%, 0.4);
css variable
--color-primary: hsl(282, 72%, 10%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 72%, 10%)?
HEX: #21072C | RGB: rgb(33, 7, 44) | CMYK: 25%, 84%, 0%, 83% | HSV: 282°, 84%, 17%. Copy any format from the conversion table above.
What colors go well with #21072C?
The complementary color is HSL(102, 72%, 10%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 72%, 10%) in CSS?
As HSL: color: hsl(282, 72%, 10%); — As HEX: color: #21072C; — As RGB: color: rgb(33, 7, 44); — Tailwind CSS: bg-[hsl(282,72%,10%)] — CSS variable: --color-primary: hsl(282, 72%, 10%);