HSL(281, 100%, 9%)
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(281,100%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 100%, 9%) | color: hsl(281, 100%, 9%) | |
| HEX | #1F002E | color: #1F002E | |
| RGB | rgb(31, 0, 46) | color: rgb(31, 0, 46) | |
| CMYK | cmyk(33%, 100%, 0%, 82%) | — | |
| HSV | hsv(280, 100%, 18%) | — | |
| HWB | hwb(280 0% 82%) | color: hwb(280 0% 82%) | |
| OKLCH | oklch(0.1822 0.0911 312.06) | color: oklch(0.1822 0.0911 312.06) | |
| Lab | lab(4.41 23.66 -22.57) | color: lab(4.41 23.66 -22.57) | |
| LCH | lch(4.41 32.7 316.35) | color: lch(4.41 32.7 316.35) |
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)
#121123 — rgb(18, 17, 35)
Deuteranopia (Green-blind)
#131620 — rgb(19, 22, 32)
Tritanopia (Blue-blind)
#1D1A18 — rgb(29, 26, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 100%, 9%);
text
color: hsl(281, 100%, 9%);
border
border: 2px solid hsl(281, 100%, 9%);
gradient light
background: linear-gradient(to right, hsl(281, 100%, 29%), hsl(281, 100%, 9%));
gradient dark
background: linear-gradient(to right, hsl(281, 100%, 9%), hsl(281, 100%, 0%))
hex
background-color: #1F002E;
tailwind
bg-[hsl(281,100%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 100%, 9%, 0.4);
css variable
--color-primary: hsl(281, 100%, 9%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 100%, 9%)?
HEX: #1F002E | RGB: rgb(31, 0, 46) | CMYK: 33%, 100%, 0%, 82% | HSV: 280°, 100%, 18%. Copy any format from the conversion table above.
What colors go well with #1F002E?
The complementary color is HSL(101, 100%, 9%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 100%, 9%) in CSS?
As HSL: color: hsl(281, 100%, 9%); — As HEX: color: #1F002E; — As RGB: color: rgb(31, 0, 46); — Tailwind CSS: bg-[hsl(281,100%,9%)] — CSS variable: --color-primary: hsl(281, 100%, 9%);