HSL(281, 85%, 8%)
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,85%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 85%, 8%) | color: hsl(281, 85%, 8%) | |
| HEX | #1B0326 | color: #1B0326 | |
| RGB | rgb(27, 3, 38) | color: rgb(27, 3, 38) | |
| CMYK | cmyk(29%, 92%, 0%, 85%) | — | |
| HSV | hsv(281, 92%, 15%) | — | |
| HWB | hwb(281 1% 85%) | color: hwb(281 1% 85%) | |
| OKLCH | oklch(0.1732 0.0737 313.46) | color: oklch(0.1732 0.0737 313.46) | |
| Lab | lab(3.96 17.12 -17.23) | color: lab(3.96 17.12 -17.23) | |
| LCH | lch(3.96 24.29 314.82) | color: lch(3.96 24.29 314.82) |
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)
#11101E — rgb(17, 16, 30)
Deuteranopia (Green-blind)
#12141C — rgb(18, 20, 28)
Tritanopia (Blue-blind)
#1A1715 — rgb(26, 23, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 85%, 8%);
text
color: hsl(281, 85%, 8%);
border
border: 2px solid hsl(281, 85%, 8%);
gradient light
background: linear-gradient(to right, hsl(281, 85%, 28%), hsl(281, 85%, 8%));
gradient dark
background: linear-gradient(to right, hsl(281, 85%, 8%), hsl(281, 85%, 0%))
hex
background-color: #1B0326;
tailwind
bg-[hsl(281,85%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 85%, 8%, 0.4);
css variable
--color-primary: hsl(281, 85%, 8%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 85%, 8%)?
HEX: #1B0326 | RGB: rgb(27, 3, 38) | CMYK: 29%, 92%, 0%, 85% | HSV: 281°, 92%, 15%. Copy any format from the conversion table above.
What colors go well with #1B0326?
The complementary color is HSL(101, 85%, 8%). 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, 85%, 8%) in CSS?
As HSL: color: hsl(281, 85%, 8%); — As HEX: color: #1B0326; — As RGB: color: rgb(27, 3, 38); — Tailwind CSS: bg-[hsl(281,85%,8%)] — CSS variable: --color-primary: hsl(281, 85%, 8%);