HSL(280, 90%, 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(280,90%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 90%, 12%) | color: hsl(280, 90%, 12%) | |
| HEX | #28033A | color: #28033A | |
| RGB | rgb(40, 3, 58) | color: rgb(40, 3, 58) | |
| CMYK | cmyk(31%, 95%, 0%, 77%) | — | |
| HSV | hsv(280, 95%, 23%) | — | |
| HWB | hwb(280 1% 77%) | color: hwb(280 1% 77%) | |
| OKLCH | oklch(0.2152 0.1003 311.32) | color: oklch(0.2152 0.1003 311.32) | |
| Lab | lab(7.42 29.06 -26.5) | color: lab(7.42 29.06 -26.5) | |
| LCH | lch(7.42 39.33 317.64) | color: lch(7.42 39.33 317.64) |
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)
#18182D — rgb(24, 24, 45)
Deuteranopia (Green-blind)
#1A1D2A — rgb(26, 29, 42)
Tritanopia (Blue-blind)
#262220 — rgb(38, 34, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 90%, 12%);
text
color: hsl(280, 90%, 12%);
border
border: 2px solid hsl(280, 90%, 12%);
gradient light
background: linear-gradient(to right, hsl(280, 90%, 32%), hsl(280, 90%, 12%));
gradient dark
background: linear-gradient(to right, hsl(280, 90%, 12%), hsl(280, 90%, 0%))
hex
background-color: #28033A;
tailwind
bg-[hsl(280,90%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 90%, 12%, 0.4);
css variable
--color-primary: hsl(280, 90%, 12%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 90%, 12%)?
HEX: #28033A | RGB: rgb(40, 3, 58) | CMYK: 31%, 95%, 0%, 77% | HSV: 280°, 95%, 23%. Copy any format from the conversion table above.
What colors go well with #28033A?
The complementary color is HSL(100, 90%, 12%). For a triadic harmony, use hues 280°, 40°, and 160°. For analogous combinations, try hues 250° and 310°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(280, 90%, 12%) in CSS?
As HSL: color: hsl(280, 90%, 12%); — As HEX: color: #28033A; — As RGB: color: rgb(40, 3, 58); — Tailwind CSS: bg-[hsl(280,90%,12%)] — CSS variable: --color-primary: hsl(280, 90%, 12%);