HSL(282, 75%, 12%)
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,75%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 75%, 12%) | color: hsl(282, 75%, 12%) | |
| HEX | #280836 | color: #280836 | |
| RGB | rgb(40, 8, 54) | color: rgb(40, 8, 54) | |
| CMYK | cmyk(26%, 85%, 0%, 79%) | — | |
| HSV | hsv(282, 85%, 21%) | — | |
| HWB | hwb(282 3% 79%) | color: hwb(282 3% 79%) | |
| OKLCH | oklch(0.2185 0.0877 313.34) | color: oklch(0.2185 0.0877 313.34) | |
| Lab | lab(8.05 25.21 -22.58) | color: lab(8.05 25.21 -22.58) | |
| LCH | lch(8.05 33.84 318.15) | color: lch(8.05 33.84 318.15) |
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)
#1A1A2B — rgb(26, 26, 43)
Deuteranopia (Green-blind)
#1C1E28 — rgb(28, 30, 40)
Tritanopia (Blue-blind)
#262220 — rgb(38, 34, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 75%, 12%);
text
color: hsl(282, 75%, 12%);
border
border: 2px solid hsl(282, 75%, 12%);
gradient light
background: linear-gradient(to right, hsl(282, 75%, 32%), hsl(282, 75%, 12%));
gradient dark
background: linear-gradient(to right, hsl(282, 75%, 12%), hsl(282, 75%, 0%))
hex
background-color: #280836;
tailwind
bg-[hsl(282,75%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 75%, 12%, 0.4);
css variable
--color-primary: hsl(282, 75%, 12%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 75%, 12%)?
HEX: #280836 | RGB: rgb(40, 8, 54) | CMYK: 26%, 85%, 0%, 79% | HSV: 282°, 85%, 21%. Copy any format from the conversion table above.
What colors go well with #280836?
The complementary color is HSL(102, 75%, 12%). 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, 75%, 12%) in CSS?
As HSL: color: hsl(282, 75%, 12%); — As HEX: color: #280836; — As RGB: color: rgb(40, 8, 54); — Tailwind CSS: bg-[hsl(282,75%,12%)] — CSS variable: --color-primary: hsl(282, 75%, 12%);